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

Method _default_update

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

Source from the content-addressed store, hash-verified

974class TestWraps(TestUpdateWrapper):
975
976 def _default_update(self):
977 def f():
978 """This is a test"""
979 pass
980 f.attr = 'This is also a test'
981 f.__wrapped__ = "This is still a bald faced lie"
982 @functools.wraps(f)
983 def wrapper():
984 pass
985 return wrapper, f
986
987 def test_default_update(self):
988 wrapper, f = self._default_update()

Callers 2

test_default_updateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected