(doc)
| 138 | |
| 139 | |
| 140 | def test_function_signatures(doc): |
| 141 | assert ( |
| 142 | doc(m.test_callback3) |
| 143 | == "test_callback3(arg0: collections.abc.Callable[[typing.SupportsInt | typing.SupportsIndex], int]) -> str" |
| 144 | ) |
| 145 | assert ( |
| 146 | doc(m.test_callback4) |
| 147 | == "test_callback4() -> collections.abc.Callable[[typing.SupportsInt | typing.SupportsIndex], int]" |
| 148 | ) |
| 149 | |
| 150 | |
| 151 | def test_movable_object(): |