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

Function new_setUpClass

Lib/test/support/__init__.py:3067–3069  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

3065 @classmethod
3066 @functools.wraps(cls.setUpClass)
3067 def new_setUpClass(cls):
3068 cls.enterClassContext(force_color(True))
3069 original_setUpClass()
3070
3071 cls.setUpClass = new_setUpClass
3072 return cls

Callers

nothing calls this directly

Calls 2

force_colorFunction · 0.85
enterClassContextMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…