Skip to content

Conversation

@jorisvandenbossche
Copy link
Member

Reverts #38576, see discussion there. We should not add detailed error message asserts, as those tests are also used by external packages, that might have different error messages.

@jorisvandenbossche jorisvandenbossche added the Testing pandas testing functions or related to the test suite label Dec 28, 2020
@jorisvandenbossche jorisvandenbossche added this to the 1.3 milestone Dec 28, 2020
@jorisvandenbossche
Copy link
Member Author

@MarcoGorelli on the PR you mentioned " ^pandas/tests/extension/ excluded from when the "disallow bare pytest raises" will be applied to CI"; but so I understand it correctly: at the moment we don't yet test it in CI? (it seems "bare_pytest_raises" validation type is not yet used in practice). So this is not yet actionable right now?

@MarcoGorelli
Copy link
Member

MarcoGorelli commented Dec 28, 2020

So this is not yet actionable right now?

Yes, that's right - I was just asking about what should be done in the future about these tests once it is checked in CI.

Also, does pandas/tests/arrays/boolean/test_arithmetic.py need to be reverted too?

@jorisvandenbossche
Copy link
Member Author

I don't have a strong preference. I can also add match=None, whatever you prefer

@jreback jreback merged commit d717eb1 into master Dec 28, 2020
@jreback
Copy link
Contributor

jreback commented Dec 28, 2020

thanks @jorisvandenbossche

@simonjayhawkins simonjayhawkins deleted the revert-38576-bare_pytest_raises branch December 28, 2020 15:35
@jorisvandenbossche jorisvandenbossche mentioned this pull request Dec 30, 2020
4 tasks
luckyvs1 pushed a commit to luckyvs1/pandas that referenced this pull request Jan 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Testing pandas testing functions or related to the test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants