Skip to content

Commit c01304a

Browse files
authored
Resolve inconsistent namespace as per PR test
https://results.pre-commit.ci/run/github/858127/1723498369.6V12SWx7T-WpLZDAXXkz0Q This web UI commit will still fail, as the E501 line-too-long check will fail until the next commit
1 parent 285d466 commit c01304a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/frame/methods/test_replace.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ def test_replace_object_splitting(self, using_infer_string):
15211521

15221522
def test_replace_bool_to_numpy_attributeerror(self):
15231523
# GH#47101
1524-
pass_pre_patch = pd.DataFrame({"d":[None]})
1524+
pass_pre_patch = DataFrame({"d":[None]})
15251525
tm.assert_frame_equal(pass_pre_patch, pass_pre_patch.replace('', pd.NA))
1526-
fail_pre_patch = pd.DataFrame({"d":[pd.NA]})
1526+
fail_pre_patch = DataFrame({"d":[pd.NA]})
15271527
tm.assert_frame_equal(fail_pre_patch, fail_pre_patch.replace('', pd.NA))

0 commit comments

Comments
 (0)