mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
virtualenv version too old for python3.6
This test is testing an old version of virtualenv with pip_env, and the version of pip is 6.x.x, which is too old and doesn't work with the importlib in python 3.6. Skipping this test if python is newer then 3.5.
This commit is contained in:
parent
2916708124
commit
8d5ab72983
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,7 @@ import os
|
|||
import pwd
|
||||
import glob
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
# Import Salt Testing libs
|
||||
from tests.support.mixins import SaltReturnAssertsMixin
|
||||
|
@ -523,6 +524,7 @@ class PipStateTest(ModuleCase, SaltReturnAssertsMixin):
|
|||
if os.path.isdir(venv_dir):
|
||||
shutil.rmtree(venv_dir)
|
||||
|
||||
@skipIf(sys.version_info[:2] >= (3, 6), 'Old version of virtualenv too old for python3.6')
|
||||
def test_46127_pip_env_vars(self):
|
||||
'''
|
||||
Test that checks if env_vars passed to pip.installed are also passed
|
||||
|
|
Loading…
Add table
Reference in a new issue