Skip to content

Commit fb7de33

Browse files
committed
updated black formatting
1 parent 7075467 commit fb7de33

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pandas/core/frame.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1407,8 +1407,9 @@ def to_dict(self, orient="dict", into=dict):
14071407
"options: ('dict', list, 'series', 'split', 'records', 'index') "
14081408
"will be used in a future version. Use one of the above "
14091409
"to silence this warning.",
1410-
DeprecationWarning,
1411-
stacklevel=2)
1410+
DeprecationWarning,
1411+
stacklevel=2,
1412+
)
14121413

14131414
if orient.startswith("d"):
14141415
orient = "dict"

pandas/tests/frame/methods/test_to_dict.py

-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def test_to_dict_short_orient(self, orient):
7979
with pytest.warns(DeprecationWarning):
8080
df.to_dict(orient=orient)
8181

82-
8382
@pytest.mark.parametrize("mapping", [dict, defaultdict(list), OrderedDict])
8483
def test_to_dict(self, mapping):
8584
# orient= should only take the listed options

0 commit comments

Comments
 (0)