@@ -24,8 +24,9 @@ Deprecations and Removals
24
24
This affects Python 2 users only and in rare situations. (`#2147
25
25
<https://github.com/pytest-dev/pytest/issues/2147> `_)
26
26
27
- - introduce deprecation warnings for legacy marks based parametersets (`#2427
28
- <https://github.com/pytest-dev/pytest/issues/2427> `_)
27
+ - A deprecation warning is now raised when using marks for parameters
28
+ in ``pytest.mark.parametrize ``. Use ``pytest.param `` to apply marks to
29
+ parameters instead. (`#2427 <https://github.com/pytest-dev/pytest/issues/2427 >`_)
29
30
30
31
31
32
Features
@@ -52,12 +53,11 @@ Features
52
53
sole argument to marks. (`#2540 <https://github.com/pytest-
53
54
dev/pytest/issues/2540> `_)
54
55
55
- - New ``cache_dir `` ini option: sets a directory where stores content of cache
56
- plugin. Default directory is ``.cache `` which is created in ``rootdir ``.
57
- Directory may be relative or absolute path. If setting relative path, then
58
- directory is created relative to ``rootdir ``. Additionally path may contain
59
- environment variables, that will be expanded. (`#2543
60
- <https://github.com/pytest-dev/pytest/issues/2543> `_)
56
+ - New ``cache_dir `` ini option: sets the directory where the contents of the
57
+ cache plugin are stored. Directory may be relative or absolute path: if relative path, then
58
+ directory is created relative to ``rootdir ``, otherwise it is used as is.
59
+ Additionally path may contain environment variables which are expanded during
60
+ runtime. (`#2543 <https://github.com/pytest-dev/pytest/issues/2543 >`_)
61
61
62
62
- Introduce the ``PYTEST_CURRENT_TEST `` environment variable that is set with
63
63
the ``nodeid `` and stage (``setup ``, ``call `` and ``teardown ``) of the test
0 commit comments