We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Doing pytest pandas/tests --skip-slow --durations=10 the top two entries are
pytest pandas/tests --skip-slow --durations=10
71.76s call pandas/tests/resample/test_datetime_index.py::test_nearest_upsample_with_limit[tzlocal()-30S-Y] 59.86s call pandas/tests/resample/test_datetime_index.py::test_nearest_upsample_with_limit[tzlocal()-30S-10M]
Because this uses the tz_aware_fixture, there isn't a trivial way to add a pytest.mark.slow to this, but figuring something out may be worthwhile.
The text was updated successfully, but these errors were encountered:
This test came up here #34131 and @jreback pointed out that it's resampling at probably too fine a frequency
Sorry, something went wrong.
That and tzlocal is just slower than everything else in general. (ive got a branch implementing a cython equivalent i need to circle back to)
Could do something like:
@pytest.mark.slow def test_foo_tzlocal(): return thing(tzlocal) def test_foo(tz_aware_fixture): if tz_aware_fixture is tzlocal: return/skip/whatever thing(tz_aware_fixture)
no easiest way is simple to split it into 2 tests and not try to upsample 1ms to 1y
TST: mark tzlocal tests as slow, closes pandas-dev#34413
482ff19
TST: mark tzlocal tests as slow, closes #34413 (#34610)
2c052f7
Successfully merging a pull request may close this issue.
Doing
pytest pandas/tests --skip-slow --durations=10
the top two entries areBecause this uses the tz_aware_fixture, there isn't a trivial way to add a pytest.mark.slow to this, but figuring something out may be worthwhile.
The text was updated successfully, but these errors were encountered: