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

Function wrapper

Lib/test/test_typing.py:80–83  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

78
79 @wraps(test_func)
80 def wrapper(self):
81 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
82 with self.subTest(pickle_proto=proto):
83 test_func(self, proto=proto)
84
85 return wrapper
86

Callers

nothing calls this directly

Calls 2

subTestMethod · 0.80
test_funcFunction · 0.50

Tested by

no test coverage detected