Skip to content

TST: Dtype constants into pandas._testing to avoid direct imports from conftest #33661

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

Conversation

SaturnFromTitan
Copy link
Contributor

@SaturnFromTitan SaturnFromTitan commented Apr 19, 2020

part of #30914

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

Took a naive approach to move these constants into pandas._testing. Could also move them to a separate module instead. Let me know what you think is best.

@SaturnFromTitan SaturnFromTitan added the Testing pandas testing functions or related to the test suite label Apr 19, 2020
@SaturnFromTitan SaturnFromTitan marked this pull request as draft April 19, 2020 22:35
@SaturnFromTitan SaturnFromTitan force-pushed the dtype-constants-into-testing branch from 4ca61b8 to 138c1e3 Compare April 19, 2020 23:03
@SaturnFromTitan SaturnFromTitan force-pushed the dtype-constants-into-testing branch from 138c1e3 to 1bd49e5 Compare April 19, 2020 23:04
@SaturnFromTitan SaturnFromTitan changed the title moved dtype constants to pandas._testing to avoid direct imports from… TST: Dtype constants into pandas._testing to avoid direct imports from conftest Apr 19, 2020
@jreback
Copy link
Contributor

jreback commented Apr 19, 2020

looks pretty good

@jbrockmendel
Copy link
Member

LGTM pending green

@SaturnFromTitan SaturnFromTitan marked this pull request as ready for review April 19, 2020 23:58
@SaturnFromTitan
Copy link
Contributor Author

@jbrockmendel @jreback Thanks for the review. CI is green now.

@jreback jreback added this to the 1.1 milestone Apr 20, 2020
@jreback jreback merged commit bf810ff into pandas-dev:master Apr 20, 2020
@jreback
Copy link
Contributor

jreback commented Apr 20, 2020

thanks @SaturnFromTitan

CloseChoice pushed a commit to CloseChoice/pandas that referenced this pull request Apr 20, 2020
rhshadrach pushed a commit to rhshadrach/pandas that referenced this pull request May 10, 2020
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