Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c0ae83a

Browse filesBrowse 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 <tomas.roun8@gmail.com>
1 parent f65aa0d commit c0ae83a
Copy full SHA for c0ae83a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎Lib/test/test_uuid.py

Copy file name to clipboardExpand all lines: Lib/test/test_uuid.py
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.