mirror of
https://github.com/python/cpython.git
synced 2025-08-09 11:29:45 +00:00
[3.12] gh-125522: Fix bare except in test_uuid
(GH-129018) (#129456)
gh-125522: Fix bare except in `test_uuid` (GH-129018)
(cherry picked from commit a1a4e9f39a
)
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
This commit is contained in:
parent
f65aa0d1bf
commit
c0ae83af95
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,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