Skip to content

Commit

Permalink
Add test for FastPath on empty path. Ref #353.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Nov 9, 2021
1 parent eda7021 commit 11c0531
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions importlib_metadata/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,9 @@ class FastPath:
"""
Micro-optimized class for searching a path for
children.
>>> FastPath('').children()
['...']
"""

@functools.lru_cache() # type: ignore
Expand Down

0 comments on commit 11c0531

Please sign in to comment.