Skip to content

Commit 3e833e0

Browse files
zoobabrettcannon
andauthored
Apply suggestion from @brettcannon
Co-authored-by: Brett Cannon <brett@python.org>
1 parent 0615113 commit 3e833e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/support/import_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def make_legacy_pyc(source, allow_compile=False):
7171
try:
7272
pyc_file = importlib.util.cache_from_source(source)
7373
shutil.move(pyc_file, legacy_pyc)
74-
except (FileNotFoundError, NotImplementedError):
74+
except FileNotFoundError, NotImplementedError:
7575
if not allow_compile:
7676
raise
7777
py_compile.compile(source, legacy_pyc, doraise=True)

0 commit comments

Comments
 (0)