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

Method test_read_text_base64

Lib/test/test_urllib.py:579–582  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

577 dict(self.text_url_resp.info().get_params())['charset']), self.text)
578
579 def test_read_text_base64(self):
580 self.assertEqual(self.text_url_base64_resp.read().decode(
581 dict(self.text_url_base64_resp.info().get_params())['charset']),
582 self.text)
583
584 def test_read_image(self):
585 self.assertEqual(self.image_url_resp.read(), self.image)

Callers

nothing calls this directly

Calls 5

get_paramsMethod · 0.80
assertEqualMethod · 0.45
decodeMethod · 0.45
readMethod · 0.45
infoMethod · 0.45

Tested by

no test coverage detected