diff options
author | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-03-27 12:02:41 +0200 |
---|---|---|
committer | Thomas Kriechbaumer <thomas@kriechbaumer.name> | 2016-03-27 12:02:41 +0200 |
commit | ec68d8b8e4a9fc24e45379359f96b3ebc30e381a (patch) | |
tree | 8a37b879502b5a6e68f02a374761481241f6dd5d /netlib/http/headers.py | |
parent | ab7e80085af891c494bc274c0cde27d49f89f254 (diff) | |
download | mitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.tar.gz mitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.tar.bz2 mitmproxy-ec68d8b8e4a9fc24e45379359f96b3ebc30e381a.zip |
s/nocover/no cover/g
according to coveralls docs
Diffstat (limited to 'netlib/http/headers.py')
-rw-r--r-- | netlib/http/headers.py | 6 |
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 |