Skip to content

Commit

Permalink
👹 Feed the hobgoblins (delint).
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Sep 19, 2024
1 parent cc5d9cb commit 9d4af05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion importlib_resources/tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ def _compile_importlib(self):
sources = pathlib.Path(resources.__file__).parent

for source_path in sources.glob('**/*.py'):
c_path = c_resources.joinpath(source_path.relative_to(sources)).with_suffix('.pyc')
c_path = c_resources.joinpath(source_path.relative_to(sources)).with_suffix(
'.pyc'
)
py_compile.compile(source_path, c_path)
self.fixtures.enter_context(import_helper.DirsOnSysPath(bin_site))

Expand Down

0 comments on commit 9d4af05

Please sign in to comment.