diff options
author | Maximilian Cosmo Sitter <48606431+mcsitter@users.noreply.github.com> | 2020-08-22 16:17:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-22 11:17:50 -0300 |
commit | 75af2bfa06436752165df884d4666402529b1d6a (patch) | |
tree | c8a1de5b68e4adbc39142cef96e42111f61c6a43 /changelog | |
parent | d69abff2c7de8bc65b7f1ef867dec5b5b9c564bd (diff) | |
download | pytest-75af2bfa06436752165df884d4666402529b1d6a.tar.gz |
Reintroduce warnings postponed in 6.0 (#7637)
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog/6981.deprecation.rst | 1 | ||||
-rw-r--r-- | changelog/7097.deprecation.rst | 6 | ||||
-rw-r--r-- | changelog/7210.deprecation.rst | 5 | ||||
-rw-r--r-- | changelog/7255.deprecation.rst | 1 |
4 files changed, 13 insertions, 0 deletions
diff --git a/changelog/6981.deprecation.rst b/changelog/6981.deprecation.rst new file mode 100644 index 000000000..622dd9500 --- /dev/null +++ b/changelog/6981.deprecation.rst @@ -0,0 +1 @@ +Deprecate the ``pytest.collect`` module: all its names can be imported from ``pytest`` directly.
diff --git a/changelog/7097.deprecation.rst b/changelog/7097.deprecation.rst new file mode 100644 index 000000000..b2aba597b --- /dev/null +++ b/changelog/7097.deprecation.rst @@ -0,0 +1,6 @@ +The ``pytest._fillfuncargs`` function is now deprecated. This function was kept
+for backward compatibility with an older plugin.
+
+It's functionality is not meant to be used directly, but if you must replace
+it, use `function._request._fillfixtures()` instead, though note this is not
+a public API and may break in the future.
diff --git a/changelog/7210.deprecation.rst b/changelog/7210.deprecation.rst new file mode 100644 index 000000000..be0ead221 --- /dev/null +++ b/changelog/7210.deprecation.rst @@ -0,0 +1,5 @@ +The special ``-k '-expr'`` syntax to ``-k`` is deprecated. Use ``-k 'not expr'``
+instead.
+
+The special ``-k 'expr:'`` syntax to ``-k`` is deprecated. Please open an issue
+if you use this and want a replacement.
diff --git a/changelog/7255.deprecation.rst b/changelog/7255.deprecation.rst new file mode 100644 index 000000000..c6d56ab5a --- /dev/null +++ b/changelog/7255.deprecation.rst @@ -0,0 +1 @@ +The :func:`pytest_warning_captured` hook has been deprecated in favor of :func:`pytest_warning_recorded`, and will be removed in a future version.
|