Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 418 Bytes

8242.deprecation.rst

File metadata and controls

7 lines (6 loc) · 418 Bytes

Raising unittest.SkipTest to skip collection of tests during the pytest collection phase is deprecated. Use pytest.skip instead.

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