From 9329fed05fba881f614e0aec50c0d8a633a25c76 Mon Sep 17 00:00:00 2001 From: Tomas R Date: Wed, 29 Jan 2025 21:59:45 +0100 Subject: [PATCH] gh-125522: Fix bare except in `test_uuid` (GH-129018) (cherry picked from commit a1a4e9f39ad86359e148fd193089b3b2a354f71d) Co-authored-by: Tomas R. --- Lib/test/test_uuid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index 9cec1e87fd3c2d..08359a336f2f8d 100755 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py @@ -19,7 +19,7 @@ def importable(name): try: __import__(name) return True - except: + except ModuleNotFoundError: return False