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 Add placeholder messages to pandas/tests/io/test_sql.py and remove test for numexpr < 2.6.8 #38920

Conversation

moink
Copy link
Member

@moink moink commented Jan 3, 2021

This is my attempt to finally finish off #30999

In pandas/tests/io/test_sql.py, there is a whole test class skipped. It looks like xref #20536 is supposed to address that, but no one has commented there since March 2018, so I don't think that's going to be fixed any time soon. I noticed that there were other tests in the same module with match="<insert message here>" so I decided to put it in the two tests that I can't figure out the correct error message for.

In pandas/tests/computation/test_compat.py there was an if statement that the numexpr library is at least 2.6.8. I tried to set up an environment with a lower version but conda couldn't resolve the dependencies. That test isn't running in the CI (xref #38876) and that test was last touched in a substantive way in 2016. I think that portion of the test is no longer required.

Not sure that I actually addressed these correctly, but I made an attempt so we could have a conversation about it in a more concrete way.

@moink moink changed the title TST: GH30999 Add placeholder messages to TST: GH30999 Add placeholder messages to pandas/tests/io/test_sql.py and remove test for numexpr < 2.6.8 Jan 3, 2021
@jreback jreback added the Error Reporting Incorrect or improved errors from pandas label Jan 3, 2021
@jreback jreback added this to the 1.3 milestone Jan 3, 2021
@jreback jreback added the Code Style Code style, linting, code_checks label Jan 3, 2021
@jreback jreback merged commit 1e4c9df into pandas-dev:master Jan 3, 2021
@jreback
Copy link
Contributor

jreback commented Jan 3, 2021

thanks @moink

we can close the issue when we have a precommit check fully in place

@moink moink deleted the add_match_msg_to_tests_skipped_on_my_dev_machine branch January 5, 2021 17:01
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
Code Style Code style, linting, code_checks Error Reporting Incorrect or improved errors from pandas
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants