(self, opener, handler_class)
| 1850 | class MiscTests(unittest.TestCase): |
| 1851 | |
| 1852 | def opener_has_handler(self, opener, handler_class): |
| 1853 | self.assertTrue(any(h.__class__ == handler_class |
| 1854 | for h in opener.handlers)) |
| 1855 | |
| 1856 | def test_build_opener(self): |
| 1857 | class MyHTTPHandler(urllib.request.HTTPHandler): |
no test coverage detected