Lines Matching defs:urlopen
33 f = urllib.request.urlopen(support.TEST_HTTP_URL)
38 """Tests urllib.request.urlopen using the network.
59 def urlopen(self, *args, **kwargs):
62 r = urllib.request.urlopen(*args, **kwargs)
70 with self.urlopen(self.url) as open_url:
74 "urlopen lacks the %s attribute" % attr)
79 with self.urlopen(self.url) as open_url:
87 with self.urlopen(self.url) as open_url:
96 with self.urlopen(self.url) as open_url:
148 urllib.request.urlopen("http://{}/".format(bogus_domain))