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

Method setUpClass

Lib/test/test_tarfile.py:2049–2051  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

2047
2048 @classmethod
2049 def setUpClass(cls):
2050 with open(cls.file_path, "wb") as fobj:
2051 fobj.write(b"aaa")
2052
2053 @classmethod
2054 def tearDownClass(cls):

Callers

nothing calls this directly

Calls 2

openFunction · 0.50
writeMethod · 0.45

Tested by

no test coverage detected