Skip to content

Commit 52f335f

Browse files
committed
waive coverage for version specific code
1 parent d1c403d commit 52f335f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ecdsa/keys.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ def from_pem(cls, string, hashfunc=sha1):
960960
:return: Initialised SigningKey object
961961
:rtype: SigningKey
962962
"""
963-
if not PY2 and isinstance(string, str):
963+
if not PY2 and isinstance(string, str): # pragma: no branch
964964
string = string.encode()
965965

966966
# The privkey pem may have multiple sections, commonly it also has

0 commit comments

Comments
 (0)