diff --git a/hyper/tls.py b/hyper/tls.py index 422b001c..fa216e7e 100644 --- a/hyper/tls.py +++ b/hyper/tls.py @@ -122,7 +122,7 @@ def init_context(cert_path=None, cert=None, cert_password=None): if cert is not None: try: - basestring + basestring # pragma: no cover except NameError: basestring = (str, bytes) if not isinstance(cert, basestring):