From bd51ab28e80a4d56a7f881c3077721ababb6dce4 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Sat, 1 Sep 2018 17:16:07 -0700 Subject: [PATCH] CLN: Remove unused variable in test_reshape.py --- pandas/tests/indexes/multi/test_reshape.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/indexes/multi/test_reshape.py b/pandas/tests/indexes/multi/test_reshape.py index 85eec6a232180..efa9fca752157 100644 --- a/pandas/tests/indexes/multi/test_reshape.py +++ b/pandas/tests/indexes/multi/test_reshape.py @@ -126,5 +126,5 @@ def test_delete_base(idx): assert result.name == expected.name with pytest.raises((IndexError, ValueError)): - # either depending on numpy version - result = idx.delete(len(idx)) + # Exception raised depends on NumPy version. + idx.delete(len(idx))