MCPcopy Index your code
hub / github.com/python/cpython / SkipTest

Class SkipTest

Lib/unittest/case.py:26–32  ·  view source on GitHub ↗

Raise this exception in a test to skip it. Usually you can use TestCase.skipTest() or one of the skipping decorators instead of raising this directly.

Source from the content-addressed store, hash-verified

24 'Set self.maxDiff to None to see it.')
25
26class SkipTest(Exception):
27 """
28 Raise this exception in a test to skip it.
29
30 Usually you can use TestCase.skipTest() or one of the skipping decorators
31 instead of raising this directly.
32 """
33
34class _ShouldStop(Exception):
35 """

Callers 4

setUpMethod · 0.90
skip_wrapperFunction · 0.85
debugMethod · 0.85
skipTestMethod · 0.85

Calls

no outgoing calls

Tested by 1

setUpMethod · 0.72

Used in the wild real call sites across dependent graphs

searching dependent graphs…