Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Remove bare pytest.raises #31079

Merged
merged 11 commits into from
Jan 24, 2020
Prev Previous commit
Next Next commit
TST: Remove bare pytest.raises in tests/arithemtic/test_object.py
  • Loading branch information
gdex1 committed Jan 17, 2020
commit e0ed317dc7cd6cebcb84f389d3948cf6c772a675
2 changes: 1 addition & 1 deletion pandas/tests/arrays/interval/test_interval.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def test_arrow_array():
assert result.equals(expected)

# unsupported conversions
with pytest.raises(TypeError):
with pytest.raises(TypeError, match="Not supported to convert IntervalArray"):
pa.array(intervals, type="float64")

with pytest.raises(TypeError, match="different 'subtype'"):
Expand Down