mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
merge from 3.2
This commit is contained in:
commit
3242577a08
4 changed files with 8 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue