Skip to content

Commit c0ae83a

Browse files
[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 a1a4e9f) Co-authored-by: Tomas R <[email protected]>
1 parent f65aa0d commit c0ae83a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_uuid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def importable(name):
1919
try:
2020
__import__(name)
2121
return True
22-
except:
22+
except ModuleNotFoundError:
2323
return False
2424

2525

0 commit comments

Comments
 (0)