Update/fix changelog
This commit is contained in:
parent
0bb8b0c1cb
commit
f4413e586d
11
CHANGES.rst
11
CHANGES.rst
|
@ -20,9 +20,15 @@ Deprecated
|
||||||
|
|
||||||
Removed
|
Removed
|
||||||
+++++++
|
+++++++
|
||||||
|
* The following private attributes are not available anymore (`#658 <https://github.com/pytest-dev/pytest-bdd/pull/658>`_):
|
||||||
|
* ``_pytest.reports.TestReport.scenario``; replaced by ``pytest_bdd.reporting.test_report_context`` WeakKeyDictionary (internal use)
|
||||||
|
* ``__scenario__`` attribute of test functions generated by the ``@scenario`` (and ``@scenarios``) decorator; replaced by ``pytest_bdd.scenario.scenario_wrapper_template_registry`` WeakKeyDictionary (internal use)
|
||||||
|
* ``_pytest.nodes.Item.__scenario_report__``; replaced by ``pytest_bdd.reporting.scenario_reports_registry`` WeakKeyDictionary (internal use)
|
||||||
|
* ``_pytest_bdd_step_context`` attribute of internal test function markers; replaced by ``pytest_bdd.steps.step_function_context_registry`` WeakKeyDictionary (internal use)
|
||||||
|
|
||||||
Fixed
|
Fixed
|
||||||
+++++
|
+++++
|
||||||
|
* Made type annotations stronger and removed most of the ``typing.Any`` usages and ``# type: ignore`` annotations. `#658 <https://github.com/pytest-dev/pytest-bdd/pull/658>`_
|
||||||
|
|
||||||
Security
|
Security
|
||||||
++++++++
|
++++++++
|
||||||
|
@ -48,11 +54,6 @@ Fixed
|
||||||
+++++
|
+++++
|
||||||
* Fixed an issue with the upcoming pytest release related to the use of ``@pytest.mark.usefixtures`` with an empty list.
|
* Fixed an issue with the upcoming pytest release related to the use of ``@pytest.mark.usefixtures`` with an empty list.
|
||||||
* Render template variables in docstrings and datatable cells with example table entries, as we already do for steps definitions.
|
* Render template variables in docstrings and datatable cells with example table entries, as we already do for steps definitions.
|
||||||
* Address many ``mypy`` warnings. The following private attributes are not available anymore (`#658 <https://github.com/pytest-dev/pytest-bdd/pull/658>`_):
|
|
||||||
* ``_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)
|
|
||||||
|
|
||||||
Security
|
Security
|
||||||
++++++++
|
++++++++
|
||||||
|
|
Loading…
Reference in New Issue