(self)
| 297 | time.sleep(0.1) |
| 298 | |
| 299 | def _extra_handlers(self): |
| 300 | handlers = [] |
| 301 | |
| 302 | cfh = urllib.request.CacheFTPHandler() |
| 303 | self.addCleanup(cfh.clear_cache) |
| 304 | cfh.setTimeout(1) |
| 305 | handlers.append(cfh) |
| 306 | |
| 307 | return handlers |
| 308 | |
| 309 | |
| 310 | class TimeoutTest(unittest.TestCase): |
no test coverage detected