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

Class TestBasicAuthHandler

Lib/test/test_urllib2.py:1688–1692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1686 *args, **kwds)
1687
1688 class TestBasicAuthHandler(urllib.request.HTTPBasicAuthHandler):
1689 def http_error_401(self, *args, **kwds):
1690 self.parent.record("basic")
1691 urllib.request.HTTPBasicAuthHandler.http_error_401(self,
1692 *args, **kwds)
1693
1694 opener = RecordingOpenerDirector()
1695 password_manager = MockPasswordManager()

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…