Skip to content

Commit 8347b59

Browse files
authored
Update remaining 7.0 references (#8834)
1 parent 8c25a14 commit 8347b59

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/en/changelog.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ Deprecations
119119
- ``_pytest.tmpdir.TempPathFactory``
120120
- ``_pytest.tmpdir.TempdirFactory``
121121

122-
These have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 7.0.0.
122+
These have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 8.0.0.
123123

124124

125125
- `#7530 <https://github.com/pytest-dev/pytest/issues/7530>`_: The ``--strict`` command-line option has been deprecated, use ``--strict-markers`` instead.
@@ -205,7 +205,7 @@ Improvements
205205
- ``pytest.WarningsRecorder`` for the :fixture:`recwarn` fixture.
206206

207207
Constructing them is not supported (except for `MonkeyPatch`); they are only meant for use in type annotations.
208-
Doing so will emit a deprecation warning, and may become a hard-error in pytest 7.0.
208+
Doing so will emit a deprecation warning, and may become a hard-error in pytest 8.0.
209209

210210
Subclassing them is also not supported. This is not currently enforced at runtime, but is detected by type-checkers such as mypy.
211211

testing/test_recwarn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def test_record_only(self) -> None:
318318
assert str(record[1].message) == "runtime"
319319

320320
def test_record_only_none_deprecated_warn(self) -> None:
321-
# This should become an error when WARNS_NONE_ARG is removed in Pytest 7.0
321+
# This should become an error when WARNS_NONE_ARG is removed in Pytest 8.0
322322
with warnings.catch_warnings():
323323
warnings.simplefilter("ignore")
324324
with pytest.warns(None) as record: # type: ignore[call-overload]

0 commit comments

Comments
 (0)