summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-04-14 12:17:43 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-04-14 12:24:40 -0600
commitc70025a46d655a19c6c7d64dbbf96849093afb18 (patch)
treed1ed0a80aa0a9358ae52a3ac2f2ea28897f5101b /tools
parent6c47259eec0ec20c1150c2b29994de59a3158964 (diff)
downloadnumpy-c70025a46d655a19c6c7d64dbbf96849093afb18.tar.gz
2to3: Apply urllib fixer.
Various functions have been moved around in the stdlib for Python 3, this fixes that up so that the code is valid in both Python 2 and Python 3. Note: monkey patching the stlib urlopen for testing looks a bit hokey to me, but I don't see an easier, more reliable way to do the test. Closes #3090.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/py3tool.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/py3tool.py b/tools/py3tool.py
index a6fd5b3f4..d3eb60958 100755
--- a/tools/py3tool.py
+++ b/tools/py3tool.py
@@ -90,7 +90,7 @@ FIXES_TO_SKIP = [
'tuple_params',
# 'types',
# 'unicode',
-# 'urllib',
+ 'urllib',
# 'ws_comma',
'xrange',
'xreadlines',