Skip to content

Commit 167a3b7

Browse files
committed
revert test_boolean
1 parent 8271576 commit 167a3b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/series/indexing/test_boolean.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ def test_where_unsafe():
213213
def f():
214214
s[mask] = [5, 4, 3, 2, 1]
215215

216-
pytest.raises(Exception, f)
216+
pytest.raises(ValueError, f)
217217

218218
def f():
219219
s[mask] = [0] * 5
220220

221-
pytest.raises(Exception, f)
221+
pytest.raises(ValueError, f)
222222

223223
# dtype changes
224224
s = Series([1, 2, 3, 4])

0 commit comments

Comments
 (0)