Skip to content

Conversation

mroeschke
Copy link
Member

@mroeschke mroeschke added the Testing pandas testing functions or related to the test suite label Aug 2, 2023
@mroeschke mroeschke added this to the 2.1 milestone Aug 2, 2023
@pytest.mark.parametrize("pandas_obj", ["Series", "DataFrame"])
def test_cache(jit, pandas_obj, nogil, parallel, nopython):
# Test that the functions are cached correctly if we switch functions
pytest.importorskip("numba")
Copy link
Member

Choose a reason for hiding this comment

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

does this change the collection/running performance of the test suite?

Copy link
Member Author

Choose a reason for hiding this comment

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

Collection locally I'm getting 35.19s on main vs 34.13s on the PR so negligible. Based on the job runtimes doesn't seem noticeably different

Copy link
Member

Choose a reason for hiding this comment

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

Thanks for checking

@mroeschke mroeschke merged commit 232d84e into pandas-dev:main Aug 3, 2023
@mroeschke mroeschke deleted the tst/cln/importorskip branch August 3, 2023 16:18
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.

2 participants