Skip to content

Commit c598b32

Browse files
committed
removed deprecation warning test
1 parent 4164a87 commit c598b32

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

pandas/tests/frame/methods/test_to_dict.py

-8
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,6 @@ def test_to_dict_invalid_orient(self, orient):
7171
with pytest.raises(ValueError, match=msg):
7272
df.to_dict(orient=orient)
7373

74-
@pytest.mark.parametrize("orient", ["d", "l", "r", "sp", "s", "i"])
75-
def test_to_dict_short_orient(self, orient):
76-
# to_dict(orient='d') or any other short option should raise DeprecationWarning
77-
# see GH#32515
78-
df = DataFrame({"A": [0, 1]})
79-
with pytest.warns(DeprecationWarning):
80-
df.to_dict(orient=orient)
81-
8274
@pytest.mark.parametrize("mapping", [dict, defaultdict(list), OrderedDict])
8375
def test_to_dict(self, mapping):
8476
# orient= should only take the listed options

0 commit comments

Comments
 (0)