Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 245a94b commit 3dbb1f1Copy full SHA for 3dbb1f1
1 file changed
Lib/test/test_urllib2.py
@@ -26,6 +26,10 @@ def test___all__(self):
26
context = {}
27
exec('from urllib.%s import *' % module, context)
28
del context['__builtins__']
29
+ if module == 'request' and os.name == 'nt':
30
+ u, p = context.pop('url2pathname'), context.pop('pathname2url')
31
+ self.assertEqual(u.__module__, 'nturl2path')
32
+ self.assertEqual(p.__module__, 'nturl2path')
33
for k, v in context.items():
34
self.assertEqual(v.__module__, 'urllib.%s' % module,
35
"%r is exposed in 'urllib.%s' but defined in %r" %
0 commit comments