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

Function skipdec

Lib/test/test_socket.py:870–874  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

868 def client_pass(*args, **kwargs):
869 pass
870 def skipdec(obj):
871 retval = unittest.skip(reason)(obj)
872 if not isinstance(obj, type):
873 retval.client_skip = lambda f: client_pass
874 return retval
875 def noskipdec(obj):
876 if not (isinstance(obj, type) or hasattr(obj, "client_skip")):
877 obj.client_skip = lambda f: f

Callers

nothing calls this directly

Calls 1

skipMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…