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

Method test_read

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

Source from the content-addressed store, hash-verified

125 self.assertHasAttr(self.returned_obj, attr)
126
127 def test_read(self):
128 self.assertEqual(self.text, self.returned_obj.read())
129
130 def test_readline(self):
131 self.assertEqual(self.text, self.returned_obj.readline())

Callers

nothing calls this directly

Calls 2

assertEqualMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected