Skip to content

Commit

Permalink
Add pragma for edge-case code path
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Oct 15, 2024
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
Expand Up @@ -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
Expand Down

0 comments on commit a663287

Please sign in to comment.