Update no-warning tests for pytest-8 (#622)
Replace the deprecated `pytest.warns(None)` with the suggested replacement (from https://github.com/pytest-dev/pytest/issues/9404) to make the test suite forward compatible with pytest-8. This works correctly with pytest-6 as well.
M
Michał Górny committed
32d642d2a0bf5476f2468585b0ed7243ef6fc7aa
Parent: 1161803
Committed by GitHub <noreply@github.com>
on 10/5/2024, 12:08:49 PM