(self)
| 974 | class 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() |
no outgoing calls
no test coverage detected