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

Method class_tmpdir

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

Source from the content-addressed store, hash-verified

477 # Temporary directory that is shared among test methods in a class
478 @pytest.fixture(autouse=True, scope="class")
479 def class_tmpdir(self, tmpdir_factory):
480 fn = tmpdir_factory.mktemp(self.__class__.__name__)
481 return fn
482
483 def run(self, **fixture_kwargs):
484 self._current_test(**fixture_kwargs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected