We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d49cbc0 commit 7322f67Copy full SHA for 7322f67
pandas/tests/indexes/period/test_setops.py
@@ -372,5 +372,5 @@ def test_difference_periodindex_with_index(self):
372
tm.assert_index_equal(result1, expected1)
373
374
result2 = index2.difference(index1)
375
- expected2 = pd.Index([])
+ expected2 = pd.Index([], dtype=index2.dtype)
376
tm.assert_index_equal(result2, expected2)
0 commit comments