Skip to content

Commit 78b6956

Browse files
gfyoungvictor
authored and
victor
committed
CLN: Remove unused variable in test_reshape.py (pandas-dev#22573)
1 parent 98b7798 commit 78b6956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/indexes/multi/test_reshape.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -126,5 +126,5 @@ def test_delete_base(idx):
126126
assert result.name == expected.name
127127

128128
with pytest.raises((IndexError, ValueError)):
129-
# either depending on numpy version
130-
result = idx.delete(len(idx))
129+
# Exception raised depends on NumPy version.
130+
idx.delete(len(idx))

0 commit comments

Comments
 (0)