From 55652a95f47096710f839ba3fd552a12266e71b2 Mon Sep 17 00:00:00 2001 From: Pradyun Gedam Date: Thu, 9 Apr 2020 16:51:31 +0530 Subject: [PATCH] Skip the failing test. See https://github.com/pypa/pip/issues/7788 --- tests/unit/test_locations.py | 2 ++ 1 file changed, 2 insertions(+) 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