(self)
| 849 | |
| 850 | |
| 851 | def _default_update(self): |
| 852 | def f[T](a:'This is a new annotation'): |
| 853 | """This is a test""" |
| 854 | pass |
| 855 | f.attr = 'This is also a test' |
| 856 | f.__wrapped__ = "This is a bald faced lie" |
| 857 | def wrapper(b:'This is the prior annotation'): |
| 858 | pass |
| 859 | functools.update_wrapper(wrapper, f) |
| 860 | return wrapper, f |
| 861 | |
| 862 | def test_default_update(self): |
| 863 | wrapper, f = self._default_update() |
no outgoing calls
no test coverage detected