Update remaining 7.0 references (#8834)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user