MCPcopy 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
34def 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
43def test_datasets(monkeypatch, tmp_path):

Callers

nothing calls this directly

Calls 1

_TempDirClass · 0.90

Tested by

no test coverage detected