From: Tomas R. Date: Wed, 29 Jan 2025 20:59:45 +0000 (+0100) Subject: gh-125522: Fix bare except in `test_uuid` (#129018) X-Git-Tag: v3.14.0a5~183 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a1a4e9f39ad86359e148fd193089b3b2a354f71d;p=thirdparty%2FPython%2Fcpython.git gh-125522: Fix bare except in `test_uuid` (#129018) --- diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index 74c8e2838efc..8216c4dd00e3 100755 --- a/Lib/test/test_uuid.py +++ b/Lib/test/test_uuid.py @@ -21,7 +21,7 @@ def importable(name): try: __import__(name) return True - except: + except ModuleNotFoundError: return False