diff options
author | Christian Heimes <christian@cheimes.de> | 2008-02-23 17:40:11 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-02-23 17:40:11 (GMT) |
commit | c5f05e45cffa16f45f1332cec531c045893f928f (patch) | |
tree | 51fbf302701bf546b81153ddacd5cce88fd25549 /Lib/test/test_urllib2.py | |
parent | 19aff0c90a1632fce527d7c81769ba419184700c (diff) | |
download | cpython-c5f05e45cffa16f45f1332cec531c045893f928f.zip cpython-c5f05e45cffa16f45f1332cec531c045893f928f.tar.gz cpython-c5f05e45cffa16f45f1332cec531c045893f928f.tar.bz2 |
Patch #2167 from calvin: Remove unused imports
Diffstat (limited to 'Lib/test/test_urllib2.py')
-rw-r--r-- | Lib/test/test_urllib2.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_urllib2.py b/Lib/test/test_urllib2.py index a35cbfa..5727f8a 100644 --- a/Lib/test/test_urllib2.py +++ b/Lib/test/test_urllib2.py @@ -1,7 +1,7 @@ import unittest from test import test_support -import os, socket +import os import StringIO import urllib2 @@ -589,7 +589,7 @@ class HandlerTests(unittest.TestCase): self.assertEqual(int(headers["Content-length"]), len(data)) def test_file(self): - import time, rfc822, socket + import rfc822, socket h = urllib2.FileHandler() o = h.parent = MockOpener() @@ -993,7 +993,7 @@ class HandlerTests(unittest.TestCase): def _test_basic_auth(self, opener, auth_handler, auth_header, realm, http_handler, password_manager, request_url, protected_url): - import base64, httplib + import base64 user, password = "wile", "coyote" # .add_password() fed through to password manager |