Skip to content

Commit

Permalink
Test with naked except clause
Browse files Browse the repository at this point in the history
  • Loading branch information
Takishima committed Apr 2, 2024
1 parent 25e7886 commit 3d5f39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def compiler_test(
with open('err.txt') as err_file:
if err_file.readlines():
raise RuntimeError('')
except (CompileError, LinkError, RuntimeError, DistutilsExecError):
except:
return False
else:
return True
Expand Down

0 comments on commit 3d5f39e

Please sign in to comment.