-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
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
Conversation
mroeschke
commented
Mar 15, 2022
- Tests added and passed if fixing a bug or adding a new feature
- All code checks passed.
@@ -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}") |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
small questions on which ill trust your judgement. LGTM. |
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" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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):
@meeseeksdev backport 1.4.x |
This comment was marked as resolved.
This comment was marked as resolved.
(cherry picked from commit 60cc2f3)