Skip to content

Commit

Permalink
Ignore the rest of what doesn't need to run.
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian committed Dec 11, 2023
1 parent a58749b commit 0f4fcbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion referencing_loaders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ def _from_walked(
if specification is None:
specification = Specification.detect(contents) # type: ignore[reportUnknownMemberType]
resource = specification.detect(contents).create_resource(contents)
uri = getattr(path, "as_uri", lambda: "")()
uri = getattr(path, "as_uri", lambda: "")() # pragma: no cover
yield uri, resource
2 changes: 1 addition & 1 deletion referencing_loaders/tests/test_loaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

try:
from importlib.resources import files
except ImportError:
except ImportError: # pragma: no cover
from importlib_resources import files

from referencing import Registry
Expand Down

0 comments on commit 0f4fcbb

Please sign in to comment.