diff --git a/pandas/tests/series/test_validate.py b/pandas/tests/series/test_validate.py index 6327e265d8c1e6..134fa0a38f618c 100644 --- a/pandas/tests/series/test_validate.py +++ b/pandas/tests/series/test_validate.py @@ -23,9 +23,6 @@ def test_validate_bool_args(self): with pytest.raises(ValueError): self.s.sort_index(inplace=value) - with pytest.raises(ValueError): - self.s.sort_index(inplace=value) - with pytest.raises(ValueError): self.s.rename(inplace=value)