mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-125522: Fix bare except in test_uuid
(#129018)
This commit is contained in:
parent
fdcedfd3cf
commit
a1a4e9f39a
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ def importable(name):
|
|||
try:
|
||||
__import__(name)
|
||||
return True
|
||||
except:
|
||||
except ModuleNotFoundError:
|
||||
return False
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue