Skip to content

Commit 7674e36

Browse files
committed
CLN: remove an unnecessary warning from test_index.py
1 parent 845cec9 commit 7674e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -769,7 +769,7 @@ def test_difference(self):
769769
self.assertEqual(result.name, first.name)
770770

771771
# non-iterable input
772-
assertRaisesRegexp(TypeError, "iterable", first.diff, 0.5)
772+
assertRaisesRegexp(TypeError, "iterable", first.difference, 0.5)
773773

774774
def test_symmetric_diff(self):
775775
# smoke

0 commit comments

Comments
 (0)