Skip to content

Commit

Permalink
remove redundant del
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframAlph committed Jan 4, 2025
1 parent 54f3010 commit 3c56fbf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Lib/test/test_urllib2.py
Original file line number Diff line number Diff line change
Expand Up @@ -1457,7 +1457,6 @@ def test_proxy_no_proxy(self):
self.assertEqual(req.host, "www.python.org")
o.open(req)
self.assertEqual(req.host, "www.python.org")
del env['no_proxy']

def test_proxy_no_proxy_all(self):
with os_helper.EnvironmentVarGuard() as env:
Expand All @@ -1469,7 +1468,6 @@ def test_proxy_no_proxy_all(self):
self.assertEqual(req.host, "www.python.org")
o.open(req)
self.assertEqual(req.host, "www.python.org")
del env['no_proxy']

def test_proxy_https(self):
o = OpenerDirector()
Expand Down

0 comments on commit 3c56fbf

Please sign in to comment.