2020-12-20 04:19:51 +08:00
|
|
|
Directly constructing the following classes is now deprecated:
|
|
|
|
|
|
|
|
- ``_pytest.mark.structures.Mark``
|
2020-12-20 21:11:01 +08:00
|
|
|
- ``_pytest.mark.structures.MarkDecorator``
|
2020-12-20 21:36:24 +08:00
|
|
|
- ``_pytest.mark.structures.MarkGenerator``
|
2020-12-27 02:49:17 +08:00
|
|
|
- ``_pytest.python.Metafunc``
|
2020-12-27 03:23:23 +08:00
|
|
|
- ``_pytest.runner.CallInfo``
|
2021-03-13 17:10:34 +08:00
|
|
|
- ``_pytest._code.ExceptionInfo``
|
2021-05-24 04:45:49 +08:00
|
|
|
- ``_pytest.config.argparsing.Parser``
|
|
|
|
- ``_pytest.config.argparsing.OptionGroup``
|
2020-12-20 04:19:51 +08:00
|
|
|
|
2021-07-03 18:20:12 +08:00
|
|
|
These have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 8.0.0.
|