Skip to content

Commit 05a0ed0

Browse files
pep8
1 parent cb54640 commit 05a0ed0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/indexes/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2367,7 +2367,7 @@ def intersection(self, other, sort=False):
23672367
23682368
* False : do not sort the result.
23692369
* None : sort the result, except when `self` and `other` are equal
2370-
or when the values cannot be compared.
2370+
or when the values cannot be compared.
23712371
23722372
.. versionadded:: 0.24.0
23732373

pandas/tests/indexes/multi/test_set_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,4 +338,4 @@ def test_setops_disallow_true(method):
338338
idx2 = pd.MultiIndex.from_product([['b', 'c'], [1, 2]])
339339

340340
with pytest.raises(ValueError, match="The 'sort' keyword only takes"):
341-
getattr(idx1, method)(idx2, sort=True)
341+
getattr(idx1, method)(idx2, sort=True)

0 commit comments

Comments
 (0)