We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 282b873 commit ca5c5a5Copy full SHA for ca5c5a5
tests/test_inplace_hooks.py
@@ -1,4 +1,3 @@
1
-import sys
2
from inspect import cleandoc
3
from os.path import abspath, dirname
4
from os.path import join as pjoin
@@ -90,8 +89,9 @@ def test_intree_backend_loaded_from_correct_backend_path():
90
89
assert res == ["intree_backend_called"]
91
92
93
-@pytest.mark.skipif(sys.version_info < (3, 8), reason="no importlib.metadata")
94
def test_intree_backend_importlib_metadata_interoperation():
+ pytest.importorskip("importlib.metadata")
+
95
hooks = get_hooks("pkg_intree_metadata", backend="intree_backend")
96
assert hooks.get_requires_for_build_sdist({}) == [
97
"_test_backend.importlib_metadata",
0 commit comments