Skip to content

Commit 7e23678

Browse files
committed
formatting updates
1 parent 781ea72 commit 7e23678

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

pandas/tests/frame/test_analytics.py

-16
Original file line numberDiff line numberDiff line change
@@ -1931,22 +1931,6 @@ def test_clip_against_frame(self, axis):
19311931
tm.assert_frame_equal(clipped_df[ub_mask], ub[ub_mask])
19321932
tm.assert_frame_equal(clipped_df[mask], df[mask])
19331933

1934-
# def test_clip_na(self):
1935-
# msg = "Cannot use an NA"
1936-
# with tm.assert_raises_regex(ValueError, msg):
1937-
# self.frame.clip(lower=np.nan)
1938-
1939-
# with tm.assert_raises_regex(ValueError, msg):
1940-
# self.frame.clip(lower=[np.nan])
1941-
1942-
# with tm.assert_raises_regex(ValueError, msg):
1943-
# self.frame.clip(upper=np.nan)
1944-
1945-
# with tm.assert_raises_regex(ValueError, msg):
1946-
# self.frame.clip(upper=[np.nan])
1947-
1948-
# with tm.assert_raises_regex(ValueError, msg):
1949-
# self.frame.clip(lower=np.nan, upper=np.nan)
19501934

19511935
def test_clip_with_na_args(self):
19521936
"""Should process np.nan argument as None """

0 commit comments

Comments
 (0)