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

Method test_info

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

Source from the content-addressed store, hash-verified

162 self.assertIsNone(self.returned_obj.status)
163
164 def test_info(self):
165 self.assertIsInstance(self.returned_obj.info(), email.message.Message)
166
167 def test_geturl(self):
168 self.assertEqual(self.returned_obj.geturl(), "file:" + self.quoted_pathname)

Callers

nothing calls this directly

Calls 2

assertIsInstanceMethod · 0.80
infoMethod · 0.45

Tested by

no test coverage detected