We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bd5a83 commit 00762f7Copy full SHA for 00762f7
1 file changed
tests/conftest.py
@@ -5,14 +5,14 @@
5
6
import pytest
7
8
-from tests.lib.util import create_file, execute, rand_str
+from tests.lib.util import create_file, execute
9
10
root = Path(__file__).parent.parent
11
12
13
@pytest.fixture
14
-def repo_dir(tmpdir_factory):
15
- repo_dir = tmpdir_factory.mkdir(rand_str())
+def repo_dir(temp_path_factory: pytest.TempPathFactory):
+ repo_dir = temp_path_factory.mktemp("repo")
16
coveragerc = root.joinpath(".coveragerc")
17
reports = repo_dir.joinpath("reports")
18
0 commit comments