Skip to content

Commit a5fc810

Browse files
picnixzhugovk
andauthored
narrow except guard
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent f203c6d commit a5fc810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/support/hashlib_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
try:
1212
import _hmac
13-
except:
13+
except ImportError:
1414
_hmac = None
1515

1616

0 commit comments

Comments
 (0)