8000 TST: Insert 'match' to bare pytest raises by ShaharNaveh · Pull Request #30997 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

TST: Insert 'match' to bare pytest raises #30997

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

Merged
merged 9 commits into from
Jan 14, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update pandas/tests/test_take.py
Co-Authored-By: Simon Hawkins <simonjayhawkins@gmail.com>
  • Loading branch information
ShaharNaveh and simonjayhawkins authored Jan 14, 2020
commit 8155b3b88fe323b3b956fc6958c86f9de70e56b2
2 changes: 1 addition & 1 deletion pandas/tests/test_take.py
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ def test_take_empty(self, allow_fill):

msg = (
r"cannot do a non-empty take from an empty axes.|"
r"indices are out-of-bounds"
"indices are out-of-bounds"
)
with pytest.raises(IndexError, match=msg):
algos.take(arr, [0], allow_fill=allow_fill)
Expand Down
0