Skip to content

Commit 3c56fbf

Browse files
committed
remove redundant del
1 parent 54f3010 commit 3c56fbf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Lib/test/test_urllib2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,7 +1457,6 @@ def test_proxy_no_proxy(self):
14571457
self.assertEqual(req.host, "www.python.org")
14581458
o.open(req)
14591459
self.assertEqual(req.host, "www.python.org")
1460-
del env['no_proxy']
14611460

14621461
def test_proxy_no_proxy_all(self):
14631462
with os_helper.EnvironmentVarGuard() as env:
@@ -1469,7 +1468,6 @@ def test_proxy_no_proxy_all(self):
14691468
self.assertEqual(req.host, "www.python.org")
14701469
o.open(req)
14711470
self.assertEqual(req.host, "www.python.org")
1472-
del env['no_proxy']
14731471

14741472
def test_proxy_https(self):
14751473
o = OpenerDirector()

0 commit comments

Comments
 (0)