(self)
| 138 | |
| 139 | @support.requires_resource('walltime') |
| 140 | def test_ftp(self): |
| 141 | # Testing the same URL twice exercises the caching in CacheFTPHandler |
| 142 | urls = [ |
| 143 | 'ftp://www.pythontest.net/README', |
| 144 | 'ftp://www.pythontest.net/README', |
| 145 | ('ftp://www.pythontest.net/non-existent-file', |
| 146 | None, urllib.error.URLError), |
| 147 | ] |
| 148 | self._test_urls(urls, self._extra_handlers()) |
| 149 | |
| 150 | @support.requires_resource('walltime') |
| 151 | @unittest.skipIf(sysconfig.get_platform() == 'linux-ppc64le', |
nothing calls this directly
no test coverage detected