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

Method test_getcode

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

Source from the content-addressed store, hash-verified

168 self.assertEqual(self.returned_obj.geturl(), "file:" + self.quoted_pathname)
169
170 def test_getcode(self):
171 self.assertIsNone(self.returned_obj.getcode())
172
173 def test_iter(self):
174 # Test iterator

Callers

nothing calls this directly

Calls 2

assertIsNoneMethod · 0.80
getcodeMethod · 0.45

Tested by

no test coverage detected