mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Fix for issue7026 test_urllib: unsetting missing 'env' variable.
This commit is contained in:
parent
8ca7482cc9
commit
91abd6e68d
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ class ProxyTests(unittest.TestCase):
|
|||
# Delete all proxy related env vars
|
||||
for k, v in os.environ.iteritems():
|
||||
if 'proxy' in k.lower():
|
||||
del env[k]
|
||||
del self.env[k]
|
||||
|
||||
def tearDown(self):
|
||||
# Restore all proxy related env vars
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue