()
| 446 | assert str(collect_return_info(method3.__code__, use_func_first_line=True)) == '[{return: 2}]' |
| 447 | |
| 448 | def method4(): |
| 449 | return (1, |
| 450 | 2, |
| 451 | 3, |
| 452 | 4) |
| 453 | |
| 454 | assert str(collect_return_info(method4.__code__, use_func_first_line=True)) == \ |
| 455 | '[{return: 1}]' if IS_PY38_OR_GREATER else '[{return: 4}]' |