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

Method test_default_update_doc

Lib/test/test_functools.py:876–878  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

874 @unittest.skipIf(sys.flags.optimize >= 2,
875 "Docstrings are omitted with -O2 and above")
876 def test_default_update_doc(self):
877 wrapper, f = self._default_update()
878 self.assertEqual(wrapper.__doc__, 'This is a test')
879
880 def test_no_update(self):
881 def f():

Callers

nothing calls this directly

Calls 2

_default_updateMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected