Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_handler
Method · 0.85
Calls
no outgoing calls
Tested by
1
test_add_non_handler
Method · 0.68
Used in the wild
real call sites across dependent graphs
searching dependent graphs…