Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/mne-tools/mne-python
/ test_tempdir
Function
test_tempdir
mne/utils/tests/test_testing.py:34–40 ·
view source on GitHub ↗
Test TempDir.
()
Source
from the content-addressed store, hash-verified
32
33
34
def
test_tempdir():
35
""
"Test TempDir."
""
36
tempdir2 = _TempDir()
37
assert Path(tempdir2).is_dir()
38
x = str(tempdir2)
39
del tempdir2
40
assert not Path(x).is_dir()
41
42
43
def
test_datasets(monkeypatch, tmp_path):
Callers
nothing calls this directly
Calls
1
_TempDir
Class · 0.90
Tested by
no test coverage detected