diff options
| author | Senthil Kumaran <senthil@uthcode.com> | 2013-12-29 01:36:18 (GMT) |
|---|---|---|
| committer | Senthil Kumaran <senthil@uthcode.com> | 2013-12-29 01:36:18 (GMT) |
| commit | b6fac245b5aaaf0b465c2f7f346c7f0ad82143f2 (patch) | |
| tree | 8bae383d75406ec6ba918d6be961c6ff13b5e329 /Lib/test/test_urllib2.py | |
| parent | 3e86ba4e321d20931648d110e1be12643cb8ff04 (diff) | |
| download | cpython-b6fac245b5aaaf0b465c2f7f346c7f0ad82143f2.zip cpython-b6fac245b5aaaf0b465c2f7f346c7f0ad82143f2.tar.gz cpython-b6fac245b5aaaf0b465c2f7f346c7f0ad82143f2.tar.bz2 | |
Backporing the fix from Issue #12692
Diffstat (limited to 'Lib/test/test_urllib2.py')
| -rw-r--r-- | Lib/test/test_urllib2.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index 33f90f4..d4c8945 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -283,6 +283,7 @@ class MockHTTPClass: self.req_headers = [] self.data = None self.raise_on_endheaders = False + self.sock = None self._tunnel_headers = {} def __call__(self, host, timeout=socket._GLOBAL_DEFAULT_TIMEOUT): |
