Skip to content

TST: Fix warnings & skip -> xfail #46370

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 5 commits into from
Mar 16, 2022
Merged

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Mar 15, 2022
@mroeschke mroeschke added this to the 1.5 milestone Mar 15, 2022
@@ -523,7 +523,7 @@ def test_memory_usage(dtype):
# GH 33963

if dtype.storage == "pyarrow":
pytest.skip("not applicable")
pytest.skip(f"not applicable for {dtype.storage}")
Copy link
Member

Choose a reason for hiding this comment

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

this is a never-expected-to-change thing, i.e. shouldnt be an xfail?

Copy link
Member Author

Choose a reason for hiding this comment

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

I assume so since I think that would require a pyarrow API to get memory usage (didn't see one quickly skimming)

@@ -156,13 +156,9 @@ def test_reduce_series_numeric(self, data, all_numeric_reductions, skipna):


class TestMethods(base.BaseMethodsTests):
@pytest.mark.skip(reason="returns nullable")
Copy link
Member

Choose a reason for hiding this comment

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

yah really ought to pull the trigger on #44692 and just get internal consistency here

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 that issue ref to this xfail

@jbrockmendel
Copy link
Member

small questions on which ill trust your judgement. LGTM.

@jbrockmendel
Copy link
Member

the pytest plugins i cant comment on but the rest LGTM

@@ -56,6 +56,7 @@ markers = [
"arm_slow: mark a test as slow for arm64 architecture",
"arraymanager: mark a test to run with ArrayManager enabled",
]
asyncio_mode = "strict"
Copy link
Contributor

Choose a reason for hiding this comment

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

where do we use asyncio?

Copy link
Member Author

Choose a reason for hiding this comment

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

We have some tab completion tests that use this

(pandas-dev) ...  % grep --include="*.py" "async def" pandas/tests -r
pandas/tests/resample/test_resampler_grouper.py:async def test_tab_complete_ipython6_warning(ip):
pandas/tests/frame/test_api.py:    async def test_tab_complete_warning(self, ip, frame_or_series):
pandas/tests/arrays/categorical/test_warnings.py:    async def test_tab_complete_warning(self, ip):
pandas/tests/indexes/test_base.py:    async def test_tab_complete_warning(self, ip):

@jreback jreback merged commit 60cc2f3 into pandas-dev:main Mar 16, 2022
@mroeschke mroeschke deleted the tst/working branch March 16, 2022 00:39
@simonjayhawkins
Copy link
Member

@meeseeksdev backport 1.4.x

@lumberbot-app

This comment was marked as resolved.

simonjayhawkins pushed a commit to simonjayhawkins/pandas that referenced this pull request Mar 29, 2022
@simonjayhawkins simonjayhawkins modified the milestones: 1.5, 1.4.2 Mar 30, 2022
yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
@MarcoGorelli MarcoGorelli mentioned this pull request Oct 6, 2022
3 tasks
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.

4 participants