diff options
| author | Andrey Petrov <andrey.petrov@shazow.net> | 2015-06-12 18:47:56 +0200 |
|---|---|---|
| committer | Andrey Petrov <andrey.petrov@shazow.net> | 2015-06-12 18:47:56 +0200 |
| commit | 71f6283b68dbf00340aa4f92e3ad31ab8282b660 (patch) | |
| tree | e4d7edf1c50638234a8dddb7f4783b6af7e0e09a /test/test_exceptions.py | |
| parent | c9216a1ec4f72c84bce9afd09b0e986aeb34ac17 (diff) | |
| download | urllib3-71f6283b68dbf00340aa4f92e3ad31ab8282b660.tar.gz | |
Style fixes.
Diffstat (limited to 'test/test_exceptions.py')
| -rw-r--r-- | test/test_exceptions.py | 4 |
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)) |
