summaryrefslogtreecommitdiff
path: root/test/test_exceptions.py
diff options
context:
space:
mode:
authorAndrey Petrov <andrey.petrov@shazow.net>2015-06-12 18:47:56 +0200
committerAndrey Petrov <andrey.petrov@shazow.net>2015-06-12 18:47:56 +0200
commit71f6283b68dbf00340aa4f92e3ad31ab8282b660 (patch)
treee4d7edf1c50638234a8dddb7f4783b6af7e0e09a /test/test_exceptions.py
parentc9216a1ec4f72c84bce9afd09b0e986aeb34ac17 (diff)
downloadurllib3-71f6283b68dbf00340aa4f92e3ad31ab8282b660.tar.gz
Style fixes.
Diffstat (limited to 'test/test_exceptions.py')
-rw-r--r--test/test_exceptions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_exceptions.py b/test/test_exceptions.py
index 09c7c3f4..b5bb93ef 100644
--- a/test/test_exceptions.py
+++ b/test/test_exceptions.py
@@ -4,7 +4,7 @@ import pickle
from urllib3.exceptions import (HTTPError, MaxRetryError, LocationParseError,
ClosedPoolError, EmptyPoolError,
HostChangedError, ReadTimeoutError,
- ConnectTimeoutError, HeaderParsingErrors)
+ ConnectTimeoutError, HeaderParsingError)
from urllib3.connectionpool import HTTPConnectionPool
@@ -48,7 +48,7 @@ class TestPickle(unittest.TestCase):
class TestFormat(unittest.TestCase):
def test_header_parsing_errors(self):
- hpe = HeaderParsingErrors('defects', 'unparsed_data')
+ hpe = HeaderParsingError('defects', 'unparsed_data')
self.assertTrue('defects' in str(hpe))
self.assertTrue('unparsed_data' in str(hpe))