summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel <gabriel.stedman@zynstra.com>2022-01-29 16:02:29 (GMT)
committerGabriel <gabriel.stedman@zynstra.com>2022-01-29 16:02:29 (GMT)
commitcd4d0814020a44c277559f9f01c4b7da5ea7a8c8 (patch)
tree028af1e14055f0a2113257bc25bc95c7273dfd85
parent2f5d65aad165583a2c580e28ce532ac1a7088ca2 (diff)
downloadlz4-cd4d0814020a44c277559f9f01c4b7da5ea7a8c8.zip
lz4-cd4d0814020a44c277559f9f01c4b7da5ea7a8c8.tar.gz
lz4-cd4d0814020a44c277559f9f01c4b7da5ea7a8c8.tar.bz2
Correctly use temp folder variable
-rw-r--r--tests/test-lz4-list.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-lz4-list.py b/tests/test-lz4-list.py
index 39986e3..fe11682 100644
--- a/tests/test-lz4-list.py
+++ b/tests/test-lz4-list.py
@@ -128,7 +128,7 @@ class TestVerbose(unittest.TestCase):
end = i
self.vinfo_list.append(VerboseFileInfo(output[start:end]))
# Populate file_frame_map as a reference of the expected info
- concat_file_list = glob.glob("/tmp/test_list_[!concat]*.lz4")
+ concat_file_list = glob.glob(f"{TEMP}/test_list_[!concat]*.lz4")
# One of the files has 2 frames so duplicate it in this list to map each frame 1 to a single file
for i, filename in enumerate(concat_file_list):
if "2f--content-size" in filename: