diff --git a/tests/unit/test_locations.py b/tests/unit/test_locations.py index 9bd4e07c8b5..ffbf8dd2226 100644 --- a/tests/unit/test_locations.py +++ b/tests/unit/test_locations.py @@ -12,6 +12,7 @@ from mock import Mock from pip._internal.locations import distutils_scheme +from tests.lib import skip_if_python2 if sys.platform == 'win32': pwd = Mock() @@ -91,6 +92,7 @@ def test_root_modifies_appropriately(self, monkeypatch): expected = os.path.join(root, path[1:]) assert os.path.abspath(root_scheme[key]) == expected + @skip_if_python2 @pytest.mark.incompatible_with_venv def test_distutils_config_file_read(self, tmpdir, monkeypatch): # This deals with nt/posix path differences