Patch #2167 from calvin: Remove unused imports

This commit is contained in:
Christian Heimes 2008-02-23 17:40:11 +00:00
parent 19aff0c90a
commit c5f05e45cf
203 changed files with 77 additions and 243 deletions

View file

@ -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