()
| 897 | |
| 898 | |
| 899 | def test_delayed_function_attributes_forwarded(): |
| 900 | @delayed |
| 901 | def add(x, y): |
| 902 | """This is a docstring""" |
| 903 | return x + y |
| 904 | |
| 905 | assert add.__name__ == "add" |
| 906 | assert add.__doc__ == "This is a docstring" |
| 907 | assert add.__wrapped__(1, 2) == 3 |
| 908 | |
| 909 | |
| 910 | def test_delayed_fusion(): |
nothing calls this directly
no test coverage detected