summaryrefslogtreecommitdiff
path: root/changelog/8242.deprecation.rst
blob: b2e8566eaa9911f7a1c49feb3eea4dbb314147eb (plain)
1
2
3
4
5
6
7
Raising :class:`unittest.SkipTest` to skip collection of tests during the
pytest collection phase is deprecated. Use :func:`pytest.skip` instead.

Note: This deprecation only relates to using `unittest.SkipTest` during test
collection. You are probably not doing that. Ordinary usage of
:class:`unittest.SkipTest` / :meth:`unittest.TestCase.skipTest` /
:func:`unittest.skip` in unittest test cases is fully supported.