MCPcopy Index your code
hub / github.com/RustPython/RustPython / skipIf

Function skipIf

Lib/unittest/case.py:182–188  ·  view source on GitHub ↗

Skip a test if the condition is true.

(condition, reason)

Source from the content-addressed store, hash-verified

180 return decorator
181
182def skipIf(condition, reason):
183 """
184 Skip a test if the condition is true.
185 """
186 if condition:
187 return skip(reason)
188 return _id
189
190def skipUnless(condition, reason):
191 """

Callers

nothing calls this directly

Calls 1

skipFunction · 0.85

Tested by

no test coverage detected