diff --git a/Lib/test/test_uuid.py b/Lib/test/test_uuid.py index e177464c00f7..e7e44c6413c2 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