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.