Skip to content

Commit 4d38579

Browse files
committed
Mark namespace tests as xfail. Support for pkg_resources-style namespaces is dropped.
1 parent 9d9007c commit 4d38579

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

setuptools/tests/test_namespaces.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import subprocess
22
import sys
33

4+
import pytest
5+
46
from setuptools._path import paths_on_pythonpath
57

68
from . import namespaces
@@ -77,6 +79,7 @@ def test_pkg_resources_import(self, tmpdir):
7779
with paths_on_pythonpath([str(target)]):
7880
subprocess.check_call(try_import)
7981

82+
@pytest.mark.xfail(reason="pkg_resources has been removed")
8083
def test_namespace_package_installed_and_cwd(self, tmpdir):
8184
"""
8285
Installing a namespace packages but also having it in the current
@@ -106,6 +109,7 @@ def test_namespace_package_installed_and_cwd(self, tmpdir):
106109
with paths_on_pythonpath([str(target)]):
107110
subprocess.check_call(pkg_resources_imp, cwd=str(pkg_A))
108111

112+
@pytest.mark.xfail(reason="pkg_resources has been removed")
109113
def test_packages_in_the_same_namespace_installed_and_cwd(self, tmpdir):
110114
"""
111115
Installing one namespace package and also have another in the same

0 commit comments

Comments
 (0)