sha,message,author_date,committer_date,raw_author,raw_committer,repo,author,committer ca105319d1910edcd3c3f5484c012f12085b0568,"Fixes for pytest-8.0.0 compatibility (#8686) * test_dataset: remove incorrect pytest.warns() to fix pytest-8 Remove two incorrect `pytest.warns()` assertions to fix test failures with pytest-8.0.0. Prior to this version, an exception raised would cause `pytest.warns()` to be ignored. This way fixed in 8.0.0, and now warnings must actually be emitted prior to the exception. In `test_drop_index_labels()`, the exception is raised at the very beginning of the function, prior to the deprecation warning. In `test_rename_multiindex()`, the warning is not emitted at all (it is not applicable to the call in question). * test_groupby: Clear recorded warnings for pytest-8 compatibility Clear the warnings recorded during the `pytest.warns()` use in `test_groupby_dims_property`, to fix test failures with pytest-8.0.0. Prior to this version, `pytest.warns()` invocation used to capture all warnings. Now it only captures the warnings that match the arguments, and the remaining warnings are re-emitted and therefore caught by `recwarn` fixture. To provide compatibility with both versions of pytest, clear the recorded warnings immediately after `pytest.warns()`. Fixes #8681 * Revert ""Fix CI: temporary pin pytest version to 7.4.* (#8682)"" This reverts commit b0b5b2f4401519ef438e8a1762fadb142177a698. The tests should be fixed now.",2024-01-31T16:53:44Z,2024-01-31T16:53:44Z,0842ecc6831ff037eedd8609815f2223450a253c,cd792325681cbad9f663f2879d8b69f1edbb678f,13221727,110765,19864447