MCPcopy Index your code
hub / github.com/python/cpython / NonHandler

Class NonHandler

Lib/test/test_urllib2.py:575–576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573
574 def test_add_non_handler(self):
575 class NonHandler(object):
576 pass
577 self.assertRaises(TypeError,
578 OpenerDirector().add_handler, NonHandler())
579

Callers 1

test_add_non_handlerMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_add_non_handlerMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…