Skip to content

CLN: Exception and BaseException in test_nanops #28544

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 2 commits into from
Sep 20, 2019

Conversation

jbrockmendel
Copy link
Member

AFAICT these are artifacts of pre-pytest usage where we needed to manually add info to the traceback.

Adds a code_check to make sure we aren't catching BaseException anywhere. BaseException includes KeyboardInterrupt, which we shouldn't be catching in general.

Saving parametrization in test_nanops for a separate pass, as the diff will get big.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Not sure why that would have been done in the first place

@WillAyd WillAyd added the Testing pandas testing functions or related to the test suite label Sep 20, 2019
@WillAyd WillAyd added this to the 1.0 milestone Sep 20, 2019
@jorisvandenbossche jorisvandenbossche merged commit b95a7eb into pandas-dev:master Sep 20, 2019
@jbrockmendel jbrockmendel deleted the faster21 branch September 20, 2019 14:18
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
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.

3 participants