Home
last modified time | relevance | path

Searched refs:open_url (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_urllibnet.py62 open_url = self.urlopen("http://www.python.org/")
65 self.assertTrue(hasattr(open_url, attr), "object returned from "
68 self.assertTrue(open_url.read(), "calling 'read' failed")
70 open_url.close()
74 open_url = self.urlopen("http://www.python.org/")
76 self.assertIsInstance(open_url.readline(), basestring,
78 self.assertIsInstance(open_url.readlines(), list,
81 open_url.close()
85 open_url = self.urlopen("http://www.python.org/")
87 info_obj = open_url.info()
[all …]
Dtest_urllib2_localnet.py445 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
447 self.assertTrue(hasattr(open_url, attr), "object returned from "
450 self.assertTrue(open_url.read(), "calling 'read' failed")
452 open_url.close()
460 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
461 info_obj = open_url.info()
474 open_url = urllib2.urlopen("http://localhost:%s" % handler.port)
475 url = open_url.geturl()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dtexi2html.py853 def open_url(self): self.startsaving() member in TexinfoParser