Skip to content

Commit

Permalink
Add pragma for edge-case code path
Browse files Browse the repository at this point in the history
abravalheri committed Oct 15, 2024

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 96be735 commit a663287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setuptools/build_meta.py
Original file line number Diff line number Diff line change
@@ -432,7 +432,7 @@ def _build(cmd: list[str]):

try:
return _build(['bdist_wheel', '--dist-info-dir', metadata_directory])
except SystemExit as ex:
except SystemExit as ex: # pragma: nocover
# pypa/setuptools#4683
if "--dist-info-dir" not in str(ex):
raise

0 comments on commit a663287

Please sign in to comment.