MCPcopy Create free account
hub / github.com/ml-explore/mlx / setUpClass

Method setUpClass

python/tests/test_export_import.py:16–20  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

14
15 @classmethod
16 def setUpClass(cls):
17 cls.test_dir_fid = tempfile.TemporaryDirectory()
18 cls.test_dir = cls.test_dir_fid.name
19 if not os.path.isdir(cls.test_dir):
20 os.mkdir(cls.test_dir)
21
22 @classmethod
23 def tearDownClass(cls):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected