summaryrefslogtreecommitdiff
path: root/pkg_resources/tests/test_pkg_resources.py
diff options
context:
space:
mode:
Diffstat (limited to 'pkg_resources/tests/test_pkg_resources.py')
-rw-r--r--pkg_resources/tests/test_pkg_resources.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/pkg_resources/tests/test_pkg_resources.py b/pkg_resources/tests/test_pkg_resources.py
index 684c9777..fd5cc8ce 100644
--- a/pkg_resources/tests/test_pkg_resources.py
+++ b/pkg_resources/tests/test_pkg_resources.py
@@ -256,6 +256,10 @@ def make_distribution_no_version(tmpdir, basename):
('dist-info', 'METADATA', DistInfoDistribution),
],
)
+@pytest.mark.xfail(
+ sys.version_info[:2] == (3, 12) and sys.version_info.releaselevel != 'final',
+ reason="https://github.com/python/cpython/issues/103632",
+)
def test_distribution_version_missing(
tmpdir, suffix, expected_filename, expected_dist_type):
"""
@@ -286,6 +290,10 @@ def test_distribution_version_missing(
assert type(dist) == expected_dist_type
+@pytest.mark.xfail(
+ sys.version_info[:2] == (3, 12) and sys.version_info.releaselevel != 'final',
+ reason="https://github.com/python/cpython/issues/103632",
+)
def test_distribution_version_missing_undetected_path():
"""
Test Distribution.version when the "Version" header is missing and