Skip to content

Commit a663287

Browse files
committed
Add pragma for edge-case code path
1 parent 96be735 commit a663287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setuptools/build_meta.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def _build(cmd: list[str]):
432432

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

0 commit comments

Comments
 (0)