diff --git a/setuptools/tests/test_core_metadata.py b/setuptools/tests/test_core_metadata.py index 70bfcc0090..bc2e09ba7e 100644 --- a/setuptools/tests/test_core_metadata.py +++ b/setuptools/tests/test_core_metadata.py @@ -384,7 +384,7 @@ def test_equivalent_output(self, tmp_path, dist): wheel_metadata = importlib.import_module("wheel.metadata") pkginfo_to_metadata = getattr(wheel_metadata, "pkginfo_to_metadata", None) - if pkginfo_to_metadata is None: + if pkginfo_to_metadata is None: # pragma: nocover pytest.xfail( "wheel.metadata.pkginfo_to_metadata is undefined, " "(this is likely to be caused by API changes in pypa/wheel"