merge from 3.2

This commit is contained in:
Senthil Kumaran 2012-01-21 11:55:40 +08:00
commit 3242577a08
4 changed files with 8 additions and 2 deletions

View file

@ -160,6 +160,9 @@ class urlopen_FileTests(unittest.TestCase):
for line in self.returned_obj:
self.assertEqual(line, self.text)
def test_relativelocalfile(self):
self.assertRaises(ValueError,urllib.request.urlopen,'./' + self.pathname)
class ProxyTests(unittest.TestCase):
def setUp(self):