Home | History | Annotate | Download | only in test

Lines Matching defs:urlretrieve

145     """Tests urllib.urlretrieve using the network."""

147 def urlretrieve(self, *args):
148 return _open_with_retry(urllib.urlretrieve, *args)
152 file_location,info = self.urlretrieve("http://www.python.org/")
154 " urlretrieve is not a valid path")
158 " by urlretrieve failed")
165 file_location,info = self.urlretrieve("http://www.python.org/",
177 # Make sure header returned as 2nd value from urlretrieve is good.
178 file_location, header = self.urlretrieve("http://www.python.org/")
185 file_location, fileheaders = self.urlretrieve(logo)