We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a58749b commit 0f4fcbbCopy full SHA for 0f4fcbb
referencing_loaders/__init__.py
@@ -75,5 +75,5 @@ def _from_walked(
75
if specification is None:
76
specification = Specification.detect(contents) # type: ignore[reportUnknownMemberType]
77
resource = specification.detect(contents).create_resource(contents)
78
- uri = getattr(path, "as_uri", lambda: "")()
+ uri = getattr(path, "as_uri", lambda: "")() # pragma: no cover
79
yield uri, resource
referencing_loaders/tests/test_loaders.py
@@ -3,7 +3,7 @@
3
4
try:
5
from importlib.resources import files
6
-except ImportError:
+except ImportError: # pragma: no cover
7
from importlib_resources import files
8
9
from referencing import Registry
0 commit comments