Skip to content

TST/REF: collect tests by method from generic #37421

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 4 commits into from
Oct 27, 2020

Conversation

jbrockmendel
Copy link
Member

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

@jreback jreback added the Testing pandas testing functions or related to the test suite label Oct 27, 2020
@@ -76,8 +69,7 @@ def test_get_numeric_data_preserve_dtype(self):
expected = DataFrame(index=[0, 1, 2], dtype=object)
self._compare(result, expected)

def test_metadata_propagation_indiv(self):

def test_metadata_propagation_indiv_groupby(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm thought we had a specific module for metadata tests

Copy link
Member Author

Choose a reason for hiding this comment

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

@TomAugspurger is there a better home for these?

Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for the delay. We have some in pandas/tests/generic/test_finalize.py.

@@ -534,7 +511,7 @@ def test_pct_change(self, periods, fill_method, limit, exp):
class TestNDFrame:
# tests that don't fit elsewhere

def test_sample(sel):
Copy link
Contributor

Choose a reason for hiding this comment

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

wow, wonder how this worked

@jreback jreback added this to the 1.2 milestone Oct 27, 2020
@jreback jreback merged commit efb068f into pandas-dev:master Oct 27, 2020
@jbrockmendel jbrockmendel deleted the tst-generic branch October 27, 2020 15:08
kesmit13 pushed a commit to kesmit13/pandas that referenced this pull request Nov 2, 2020
ukarroum pushed a commit to ukarroum/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
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