|
15 | 15 | PerformanceWarning, |
16 | 16 | SettingWithCopyError, |
17 | 17 | ) |
18 | | -import pandas.util._test_decorators as td |
19 | 18 |
|
20 | 19 | from pandas.core.dtypes.common import is_integer |
21 | 20 |
|
@@ -574,7 +573,6 @@ def test_getitem_setitem_integer_slice_keyerrors(self): |
574 | 573 | with pytest.raises(KeyError, match=r"^3$"): |
575 | 574 | df2.loc[3:11] = 0 |
576 | 575 |
|
577 | | - @td.skip_array_manager_invalid_test # already covered in test_iloc_col_slice_view |
578 | 576 | def test_fancy_getitem_slice_mixed( |
579 | 577 | self, float_frame, float_string_frame, using_copy_on_write, warn_copy_on_write |
580 | 578 | ): |
@@ -640,7 +638,6 @@ def test_getitem_fancy_scalar(self, float_frame): |
640 | 638 | for idx in f.index[::5]: |
641 | 639 | assert ix[idx, col] == ts[idx] |
642 | 640 |
|
643 | | - @td.skip_array_manager_invalid_test # TODO(ArrayManager) rewrite not using .values |
644 | 641 | def test_setitem_fancy_scalar(self, float_frame): |
645 | 642 | f = float_frame |
646 | 643 | expected = float_frame.copy() |
@@ -680,7 +677,6 @@ def test_getitem_fancy_boolean(self, float_frame): |
680 | 677 | expected = f.reindex(index=f.index[boolvec], columns=["C", "D"]) |
681 | 678 | tm.assert_frame_equal(result, expected) |
682 | 679 |
|
683 | | - @td.skip_array_manager_invalid_test # TODO(ArrayManager) rewrite not using .values |
684 | 680 | def test_setitem_fancy_boolean(self, float_frame): |
685 | 681 | # from 2d, set with booleans |
686 | 682 | frame = float_frame.copy() |
@@ -1404,7 +1400,6 @@ def test_loc_setitem_rhs_frame(self, idxr, val, warn): |
1404 | 1400 | expected = DataFrame({"a": [np.nan, val]}) |
1405 | 1401 | tm.assert_frame_equal(df, expected) |
1406 | 1402 |
|
1407 | | - @td.skip_array_manager_invalid_test |
1408 | 1403 | def test_iloc_setitem_enlarge_no_warning(self, warn_copy_on_write): |
1409 | 1404 | # GH#47381 |
1410 | 1405 | df = DataFrame(columns=["a", "b"]) |
|
0 commit comments