Skip to content

CLN/TST: Remove testing ArrowExtensionArray in favor of extensions/test_arrow.py #49000

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 13, 2022

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke commented Oct 7, 2022

closes #46008

  1. extension/arrow/test_timestamp.py: The original issue BUG: Cannot create third-party ExtensionArrays for datetime types #34986 (ExtensionDtypes with kind="M") is more-narrowly tested in BUG: is_datetime64tz_dtype shortcut only for DatetimeTZDtype #48640 and the DataFrame construction is tested in pandas/tests/extension/test_arrow.py::TestConstructors as ArrowDtype(pa.timestamp()) has kind="M"

  2. extension/arrow/test_string.py: Moved test to pandas/tests/extension/test_string.py

  3. extension/arrow/test_bool.py: Moved test_is_bool_dtype and test_basic_equals to extensions/test_arrow.py The rest of the test appeared to be a subset of what is tested in test_arrow.py

@mroeschke mroeschke added Testing pandas testing functions or related to the test suite Clean labels Oct 7, 2022
@mroeschke mroeschke changed the title CLN: Remove redundant test arrow/test_timestamp.py CLN/TST: Remove testing ArrowExtensionArray in favor of extensions/test_arrow.py Oct 7, 2022
@mroeschke mroeschke added the Arrow pyarrow functionality label Oct 7, 2022
@mroeschke mroeschke added this to the 1.6 milestone Oct 7, 2022


def test_is_bool_dtype():
data = ArrowExtensionArray(pa.array([True, False, True]))
Copy link
Member

Choose a reason for hiding this comment

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

can we add a gh ref?

Copy link
Member Author

Choose a reason for hiding this comment

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

Added

@mroeschke mroeschke modified the milestones: 1.6, 2.0 Oct 13, 2022
@phofl phofl merged commit 51a869c into pandas-dev:main Oct 13, 2022
@phofl
Copy link
Member

phofl commented Oct 13, 2022

thx @mroeschke

@mroeschke mroeschke deleted the tst/cln/ea_m_dtype branch October 13, 2022 22:51
noatamir pushed a commit to noatamir/pandas that referenced this pull request Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arrow pyarrow functionality Clean Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

REF: ArrowBackedExtensionArray
2 participants