Skip to content

TST: Added tests for ABC classes #38588

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
Dec 21, 2020
Merged

Conversation

rhshadrach
Copy link
Member

@rhshadrach rhshadrach commented Dec 19, 2020

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

test_abc_types is a subset of the tests added and can be removed in a followup.

@rhshadrach rhshadrach added Dtype Conversions Unexpected or buggy dtype conversions Testing pandas testing functions or related to the test suite Typing type annotations, mypy/pyright type checking labels Dec 19, 2020
[
(parent, subs, abctype, inst)
for (parent, subs), (abctype, inst) in it.product(
abc_subclasses.items(), abc_pairs
Copy link
Member

Choose a reason for hiding this comment

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

we cant do this with two separate @pytest.mark.parametrize lines?

@rhshadrach
Copy link
Member Author

Indeed, thanks @jbrockmendel. Changes made.

@jreback jreback added this to the 1.3 milestone Dec 21, 2020
@jreback jreback merged commit f4b8a75 into pandas-dev:master Dec 21, 2020
@jreback
Copy link
Contributor

jreback commented Dec 21, 2020

thanks @rhshadrach

@rhshadrach rhshadrach deleted the abc_tests branch December 27, 2020 23:59
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
Dtype Conversions Unexpected or buggy dtype conversions Testing pandas testing functions or related to the test suite Typing type annotations, mypy/pyright type checking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants