MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / class_tmpdir

Method class_tmpdir

tests/unit/common.py:492–494  ·  view source on GitHub ↗
(self, tmpdir_factory)

Source from the content-addressed store, hash-verified

490 # Temporary directory that is shared among test methods in a class
491 @pytest.fixture(autouse=True, scope="class")
492 def class_tmpdir(self, tmpdir_factory):
493 fn = tmpdir_factory.mktemp(self.__class__.__name__)
494 return fn
495
496 def run(self, **fixture_kwargs):
497 self._current_test(**fixture_kwargs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected