2021-01-15 00:14:39 +08:00
|
|
|
Raising :class:`unittest.SkipTest` to skip collection of tests during the
|
|
|
|
pytest collection phase is deprecated. Use :func:`pytest.skip` instead.
|
|
|
|
|
2021-07-03 18:20:12 +08:00
|
|
|
Note: This deprecation only relates to using :class:`unittest.SkipTest` during test
|
2021-01-15 00:14:39 +08:00
|
|
|
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.
|