aboutsummaryrefslogtreecommitdiffstats
path: root/netlib/http/headers.py
diff options
context:
space:
mode:
Diffstat (limited to 'netlib/http/headers.py')
-rw-r--r--netlib/http/headers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/netlib/http/headers.py b/netlib/http/headers.py
index 78404796..9b8fdae4 100644
--- a/netlib/http/headers.py
+++ b/netlib/http/headers.py
@@ -8,7 +8,7 @@ from __future__ import absolute_import, print_function, division
import copy
try:
from collections.abc import MutableMapping
-except ImportError: # pragma: nocover
+except ImportError: # pragma: no cover
from collections import MutableMapping # Workaround for Python < 3.3
@@ -16,7 +16,7 @@ import six
from netlib.utils import always_byte_args, always_bytes, Serializable
-if six.PY2: # pragma: nocover
+if six.PY2: # pragma: no cover
_native = lambda x: x
_always_bytes = lambda x: x
_always_byte_args = lambda x: x
@@ -106,7 +106,7 @@ class Headers(MutableMapping, Serializable):
else:
return b""
- if six.PY2: # pragma: nocover
+ if six.PY2: # pragma: no cover
__str__ = __bytes__
@_always_byte_args