Repository navigation
Commit d4beec3
committed
test(python): local classes are extracted defs now (DeusData#1548)
pylsp_nested_and_local_classbody_calls_join_extracted_caller asserted that a class declared in a function body is NOT a def, which is the behaviour DeusData#1548 fixes. Their class-body calls still join the enclosing function; that part is unchanged.
Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>1 parent 5bfa7b5 commit d4beec3
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3629 | 3629 | | |
3630 | 3630 | | |
3631 | 3631 | | |
3632 | | - | |
3633 | | - | |
3634 | | - | |
| 3632 | + | |
| 3633 | + | |
| 3634 | + | |
| 3635 | + | |
| 3636 | + | |
| 3637 | + | |
3635 | 3638 | | |
3636 | 3639 | | |
3637 | | - | |
| 3640 | + | |
| 3641 | + | |
3638 | 3642 | | |
3639 | 3643 | | |
3640 | 3644 | | |
| |||
0 commit comments