Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 718b97c

Browse files
committed
Fix flake8 basestring complaints.
1 parent b359887 commit 718b97c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/tls.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def init_context(cert_path=None, cert=None, cert_password=None):
122122

123123
if cert is not None:
124124
try:
125-
basestring
125+
basestring # pragma: no cover
126126
except NameError:
127127
basestring = (str, bytes)
128128
if not isinstance(cert, basestring):

0 commit comments

Comments
 (0)