Skip to content

REF: window/test_dtypes.py with pytest idioms #35918

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 7 commits into from
Sep 5, 2020

Conversation

mroeschke
Copy link
Member

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

@pep8speaks
Copy link

pep8speaks commented Aug 27, 2020

Hello @mroeschke! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! 🍻

Comment last updated at 2020-09-05 17:17:13 UTC

@mroeschke mroeschke added Refactor Internal refactoring of code Testing pandas testing functions or related to the test suite labels Aug 27, 2020
@mroeschke mroeschke added this to the 1.2 milestone Aug 28, 2020
@@ -308,3 +308,34 @@ def which(request):
def halflife_with_times(request):
"""Halflife argument for EWM when times is specified."""
return request.param


@pytest.fixture(
Copy link
Contributor

Choose a reason for hiding this comment

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

it might be worth putting this in pandas/conftest.py (maybe), but can try in a followon

@jreback jreback merged commit cc54943 into pandas-dev:master Sep 5, 2020
@jreback
Copy link
Contributor

jreback commented Sep 5, 2020

thanks @mroeschke

@mroeschke mroeschke deleted the ref/test_dtype branch September 6, 2020 04:05
jbrockmendel pushed a commit to jbrockmendel/pandas that referenced this pull request Sep 8, 2020
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Internal refactoring of code 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