mirror of https://github.com/python/cpython.git
[3.13] gh-125522: Fix bare except in `test_uuid` (GH-129018) (#129455)
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
f502c8f6a6
commit
8b4a0d641c
|
@ -19,7 +19,7 @@ def importable(name):
|
|||
try:
|
||||
__import__(name)
|
||||
return True
|
||||
except:
|
||||
except ModuleNotFoundError:
|
||||
return False
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue