Skip to content

Commit a9aaf24

Browse files
author
Aaron Sierra
committed
tests: Add suffix to temporary directories
Currently, unit testing does not cleanup the temporary directory structure that it creates. Make it more easily identifiable for manual cleanup by adding a recognizable suffix.
1 parent b839a05 commit a9aaf24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
PY3 = sys.version_info[0] == 3
3535

36-
TMPDIR = tempfile.mkdtemp()
36+
TMPDIR = tempfile.mkdtemp(suffix='.python-libarchive')
3737
ZIPCMD = '/usr/bin/zip'
3838
ZIPFILE = 'test.zip'
3939
ZIPPATH = os.path.join(TMPDIR, ZIPFILE)

0 commit comments

Comments
 (0)