Commit a6ee983b authored by Philip ABBET's avatar Philip ABBET
Browse files

[tests] Fix for Linux

parent 745017f8
Pipeline #12098 failed with stage
in 12 minutes and 16 seconds
......@@ -29,13 +29,18 @@
# Basic setup for slow tests
import os
import sys
import shutil
import tempfile
import pkg_resources
prefix = pkg_resources.resource_filename(__name__, 'prefix')
tmp_prefix = tempfile.mkdtemp(prefix=__name__, suffix='.tmpdir', dir='/tmp')
if sys.platform == 'darwin':
tmp_prefix = tempfile.mkdtemp(prefix=__name__, suffix='.tmpdir', dir='/tmp')
else:
tmp_prefix = tempfile.mkdtemp(prefix=__name__, suffix='.tmpdir')
def teardown_package():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment