MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / temp_dir

Function temp_dir

tests/conftest.py:90–94  ·  view source on GitHub ↗

Create a temporary directory for tests.

()

Source from the content-addressed store, hash-verified

88
89@pytest.fixture
90def temp_dir():
91 """Create a temporary directory for tests."""
92 dirpath = tempfile.mkdtemp()
93 yield dirpath
94 shutil.rmtree(dirpath, ignore_errors=True)
95
96
97@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected