From 718b97c3a60eb4ebf7af59f09ae1d2d1f64e8681 Mon Sep 17 00:00:00 2001 From: Mathias Seidler Date: Sun, 23 Feb 2020 08:59:50 +0100 Subject: [PATCH] Fix flake8 basestring complaints. --- hyper/tls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):