Merged revisions 78268 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk
This commit is contained in:
Senthil Kumaran 2010-02-20 22:19:04 +00:00
parent a11865b8c6
commit 734f05925e
2 changed files with 6 additions and 2 deletions

View file

@ -112,7 +112,6 @@ class urlopen_FileTests(unittest.TestCase):
for line in self.returned_obj.__iter__():
self.assertEqual(line, self.text)
class ProxyTests(unittest.TestCase):
def setUp(self):
@ -866,6 +865,11 @@ class URLopener_Tests(unittest.TestCase):
self.assertEqual(DummyURLopener().open(
'spam://example/ /'),'//example/%20/')
# test the safe characters are not quoted by urlopen
self.assertEqual(DummyURLopener().open(
"spam://c:|windows%/:=&?~#+!$,;'@()*[]|/path/"),
"//c:|windows%/:=&?~#+!$,;'@()*[]|/path/")
# Just commented them out.
# Can't really tell why keep failing in windows and sparc.
# Everywhere else they work ok, but on those machines, someteimes