Skip to content

Commit 8bfa3eb

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7088479 commit 8bfa3eb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pandas/tests/frame/methods/test_drop.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,11 @@ def test_drop_multiindex_other_level_nan(self):
347347
tm.assert_frame_equal(result, expected)
348348

349349
def test_drop_multiindex_with_axis_and_index(self):
350-
df = DataFrame({'a': [1, 2, 3], 'b': ['foo', 'foo', 'bar']})
351-
df = pd.concat([df], keys=['foo'], axis=1)
350+
df = DataFrame({"a": [1, 2, 3], "b": ["foo", "foo", "bar"]})
351+
df = pd.concat([df], keys=["foo"], axis=1)
352352
msg = "Cannot specify both 'axis' and 'index'"
353353
with pytest.raises(ValueError, match=msg):
354-
df.drop(index='b', level=1, axis=1)
354+
df.drop(index="b", level=1, axis=1)
355355

356356
def test_drop_nonunique(self):
357357
df = DataFrame(

0 commit comments

Comments
 (0)