Skip to content

Commit

Permalink
Fix changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
youtux committed Nov 30, 2024
1 parent 2cb6572 commit 6f116e7
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0

Unreleased
----------
- Address many ``mypy`` warnings. The following private attributes are not available anymore:

* ``_pytest.reports.TestReport.scenario`` (replaced by ``pytest_bdd.reporting.test_report_context`` WeakKeyDictionary)
* ``__scenario__`` attribute of test functions generated by the ``@scenario`` (and ``@scenarios``) decorator (replaced by ``pytest_bdd.scenario.scenario_wrapper_template_registry`` WeakKeyDictionary)
* ``_pytest.nodes.Item.__scenario_report__`` (replaced by ``pytest_bdd.reporting.scenario_reports_registry`` WeakKeyDictionary)
* ``_pytest_bdd_step_context`` attribute of internal test function markers (replaced by ``pytest_bdd.steps.step_function_context_registry`` WeakKeyDictionary)
`#658 <https://github.com/pytest-dev/pytest-bdd/pull/658>`_

Added
+++++
Expand All @@ -31,6 +24,12 @@ Removed
Fixed
+++++
* Fixed an issue with the upcoming pytest release related to the use of ``@pytest.mark.usefixtures`` with an empty list.
* Address many ``mypy`` warnings. The following private attributes are not available anymore:
* ``_pytest.reports.TestReport.scenario`` (replaced by ``pytest_bdd.reporting.test_report_context`` WeakKeyDictionary)
* ``__scenario__`` attribute of test functions generated by the ``@scenario`` (and ``@scenarios``) decorator (replaced by ``pytest_bdd.scenario.scenario_wrapper_template_registry`` WeakKeyDictionary)
* ``_pytest.nodes.Item.__scenario_report__`` (replaced by ``pytest_bdd.reporting.scenario_reports_registry`` WeakKeyDictionary)
* ``_pytest_bdd_step_context`` attribute of internal test function markers (replaced by ``pytest_bdd.steps.step_function_context_registry`` WeakKeyDictionary)
`#658 <https://github.com/pytest-dev/pytest-bdd/pull/658>`_

Security
++++++++
Expand Down

0 comments on commit 6f116e7

Please sign in to comment.