We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tempfile.gettempdir()
1 parent 7400554 commit 934849dCopy full SHA for 934849d
tests/subtests/test_subtest.py
@@ -2,6 +2,7 @@
2
import sys
3
import json
4
import shutil
5
+import tempfile
6
import subprocess
7
from pathlib import Path
8
@@ -42,7 +43,7 @@
42
43
# See helpers.apply_regex for more information.
44
REGEX_PATHS = [
45
str(Path(__file__).parent), # replace all references to baseline files
- str(os.path.realpath(os.getenv("TMPDIR"))), # replace all references to output files
46
+ os.path.realpath(tempfile.gettempdir()), # replace all references to output files
47
]
48
REGEX_STRS = [
49
r'RMS Value: ',
0 commit comments