aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_resources/tests/test_resources.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-07-23 13:56:57 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-07-23 13:56:57 -0400
commit8dea0697aa3089de31f96c02d734d9ed05d3dac9 (patch)
tree14a17fc35ff71c930deb447ad6234aa64d7d1f1f /pkg_resources/tests/test_resources.py
parent5a63f386217cae916c60cc8a89ae1115df9ea7f4 (diff)
downloadexternal_python_setuptools-8dea0697aa3089de31f96c02d734d9ed05d3dac9.tar.gz
external_python_setuptools-8dea0697aa3089de31f96c02d734d9ed05d3dac9.tar.bz2
external_python_setuptools-8dea0697aa3089de31f96c02d734d9ed05d3dac9.zip
Mark failing tests as xfail until they can be resolved. Ref #591.
Diffstat (limited to 'pkg_resources/tests/test_resources.py')
-rw-r--r--pkg_resources/tests/test_resources.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py
index 31847dc8..e0dbb652 100644
--- a/pkg_resources/tests/test_resources.py
+++ b/pkg_resources/tests/test_resources.py
@@ -3,6 +3,7 @@ from __future__ import unicode_literals
import os
import sys
import string
+import platform
from pkg_resources.extern.six.moves import map
@@ -763,6 +764,9 @@ class TestNamespaces:
pkg_resources._namespace_packages = saved_ns_pkgs
sys.path = saved_sys_path
+ issue591 = pytest.mark.xfail(platform.system()=='Windows', reason="#591")
+
+ @issue591
def test_two_levels_deep(self, symlinked_tmpdir):
"""
Test nested namespace packages
@@ -796,6 +800,7 @@ class TestNamespaces:
]
assert pkg1.pkg2.__path__ == expected
+ @issue591
def test_path_order(self, symlinked_tmpdir):
"""
Test that if multiple versions of the same namespace package subpackage