summaryrefslogtreecommitdiff
path: root/pkg_resources/tests/test_resources.py
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2023-04-19 17:18:27 +0100
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2023-04-19 17:18:27 +0100
commitac07f21af8ee73e32448bb0429469b56f412a597 (patch)
treec45e8284ca8668b8aa594deed813145adc1264b8 /pkg_resources/tests/test_resources.py
parent245d72a8aa4d47e1811425213aba2a06a0bb64fa (diff)
downloadpython-setuptools-git-ac07f21af8ee73e32448bb0429469b56f412a597.tar.gz
Handle Python3.12a7 compatibility problems
Diffstat (limited to 'pkg_resources/tests/test_resources.py')
-rw-r--r--pkg_resources/tests/test_resources.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg_resources/tests/test_resources.py b/pkg_resources/tests/test_resources.py
index 2138f95e..baf477db 100644
--- a/pkg_resources/tests/test_resources.py
+++ b/pkg_resources/tests/test_resources.py
@@ -319,6 +319,10 @@ class TestDistro:
res = list(ws.resolve(parse_requirements("a"), ad))
assert res == [a, c, b, foo]
+ @pytest.mark.xfail(
+ sys.version_info[:2] == (3, 12) and sys.version_info.releaselevel != 'final',
+ reason="https://github.com/python/cpython/issues/103632",
+ )
def testDistroDependsOptions(self):
d = self.distRequires("""
Twisted>=1.5