Skip to content

Commit

Permalink
formatting updates
Browse files Browse the repository at this point in the history
  • Loading branch information
mgasvoda committed Aug 18, 2017
1 parent 781ea72 commit 7e23678
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions pandas/tests/frame/test_analytics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1931,22 +1931,6 @@ def test_clip_against_frame(self, axis):
tm.assert_frame_equal(clipped_df[ub_mask], ub[ub_mask])
tm.assert_frame_equal(clipped_df[mask], df[mask])

# def test_clip_na(self):
# msg = "Cannot use an NA"
# with tm.assert_raises_regex(ValueError, msg):
# self.frame.clip(lower=np.nan)

# with tm.assert_raises_regex(ValueError, msg):
# self.frame.clip(lower=[np.nan])

# with tm.assert_raises_regex(ValueError, msg):
# self.frame.clip(upper=np.nan)

# with tm.assert_raises_regex(ValueError, msg):
# self.frame.clip(upper=[np.nan])

# with tm.assert_raises_regex(ValueError, msg):
# self.frame.clip(lower=np.nan, upper=np.nan)

def test_clip_with_na_args(self):
"""Should process np.nan argument as None """
Expand Down

0 comments on commit 7e23678

Please sign in to comment.