Update remaining 7.0 references (#8834)

This commit is contained in:
Florian Bruhin
2021-07-04 10:27:43 +02:00
committed by GitHub
parent 8c25a14032
commit 8347b59295
2 changed files with 3 additions and 3 deletions

View File

@@ -318,7 +318,7 @@ class TestWarns:
assert str(record[1].message) == "runtime"
def test_record_only_none_deprecated_warn(self) -> None:
# This should become an error when WARNS_NONE_ARG is removed in Pytest 7.0
# This should become an error when WARNS_NONE_ARG is removed in Pytest 8.0
with warnings.catch_warnings():
warnings.simplefilter("ignore")
with pytest.warns(None) as record: # type: ignore[call-overload]