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 GH30999 Change bare pytest.raises in pandas/tests/indexing to tm.external_error_raised #18

Closed
wants to merge 2,051 commits into from

Conversation

moink
Copy link

@moink moink commented Dec 30, 2020

Change all pytest.raises in pandas/tests/indexing to tm.external_error_raised. xref pandas-dev#30999. Also made a couple of the exceptions more specific. Doesn't close the issue as there are still about a dozen challenging instances of bare pytest.raises left.

-[ ] closes #xxxx

  • tests added / passed
  • passes black pandas
  • passes git diff upstream/master -u -- "*.py" | flake8 --diff
  • whatsnew entry

jbrockmendel and others added 30 commits December 8, 2020 13:13
* DOC: add examples to insert and update generally

This commit mainly adds examples on usage. This commit also fills in
information suggested by `validate_docstrings.py` script.

* DOC: remove inferred insert parameter descriptions
Co-authored-by: VirosaLi <2EkF8qUgpNkj>
… (pandas-dev#38383)

* last dict fixings

* last dict fixings

* last dict fixings

* last dict fixings
Co-authored-by: VirosaLi <2EkF8qUgpNkj>
* Corrected the grammar in Exception

Exception on different arrays' length corrected

* Updated error message in tests file as well

Co-authored-by: Ashwani <ashwani.ashwani@external.thalesgroup.com>
* BUG: item_cache invalidation on DataFrame.insert

* Whatsnew
…#38323)

* CLN: Implement multiindex handling for get_op_result_name

* Change import order

* Override method

* Move import

* Remove import

* Fix merge issue

* Move methods
jbrockmendel and others added 27 commits December 29, 2020 09:05
* run codespell on pandas/core

* fix underline
* ENH: support 2D in DatetimeArray._from_sequence

* BUG: Series.where casting dt64 to int64

* whatsnew

* move whatsnew

* use fixture, remove unnecessary check
Co-authored-by: Simon Hawkins <simonjayhawkins@gmail.com>
@moink moink closed this Dec 30, 2020
@moink moink deleted the add_match_msg_to_pytest_raises_indexing branch December 30, 2020 17:54
@moink moink restored the add_match_msg_to_pytest_raises_indexing branch December 30, 2020 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.