Lines Matching refs:urlopen
84 self.returned_obj = urllib.urlopen("file:%s" % self.pathname)
145 self.assertRaises(ValueError,urllib.urlopen,'./' + self.pathname)
242 fp = urllib.urlopen("http://python.org/")
255 fp = urllib.urlopen(url)
269 self.assertRaises(IOError, urllib.urlopen, "http://python.org/")
285 urllib.urlopen("http://python.org/")
298 self.assertRaises(IOError, urllib.urlopen,
308 self.assertRaises(IOError, urllib.urlopen, 'http://something')
313 self.assertRaises(IOError, urllib.urlopen,
319 fp = urllib.urlopen(tmp_fileurl)
326 self.assertRaises(IOError, urllib.urlopen, tmp_fileurl)
329 self.assertRaises(IOError, urllib.urlopen,
337 fp = urllib.urlopen("http://user:pass@python.org/")
356 fp = urllib.urlopen(url)