mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-38080: Added "getproxies" to urllib fixes in the 2to3 tool (GH-16167)
This commit is contained in:
parent
64838ce717
commit
276a84a0a6
3 changed files with 7 additions and 1 deletions
|
@ -1913,7 +1913,11 @@ def foo():
|
|||
"""
|
||||
self.check(b, a)
|
||||
|
||||
def test_single_import(self):
|
||||
b = "from urllib import getproxies"
|
||||
a = "from urllib.request import getproxies"
|
||||
|
||||
self.check(b, a)
|
||||
|
||||
def test_import_module_usage(self):
|
||||
for old, changes in self.modules.items():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue