|
@ -101,11 +101,11 @@ class FileTest(unittest.TestCase, metaclass=dynamic.DynamicTest): |
|
|
if steps: |
|
|
if steps: |
|
|
command.extend(['--steps', steps]) |
|
|
command.extend(['--steps', steps]) |
|
|
|
|
|
|
|
|
if os.name == 'nt': |
|
|
if os.name == 'nt' and 'APPVEYOR' in os.environ: |
|
|
# On windows, we need to pass the current env as argument |
|
|
# On windows, we need to pass the current env as argument |
|
|
current_env = os.environ.copy() |
|
|
current_env = os.environ.copy() |
|
|
# and duplicate the current PythontPath |
|
|
# Force the pythonpath for AppVeyor |
|
|
current_env['PYTHONPATH'] = ';'.join(sys.path[1:]) |
|
|
current_env['PYTHONPATH'] = 'C:\\projects\\patacrep\\.tox\\py34\\lib\\site-packages\\' |
|
|
else: |
|
|
else: |
|
|
current_env = None |
|
|
current_env = None |
|
|
|
|
|
|
|
|