File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff 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 """
You can’t perform that action at this time.
0 commit comments