bpo-32416: Refactor tests for the f_lineno setter and add new tests. by serhiy-storchaka · Pull Request #4991 · python/cpython (original) (raw)
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right. There was test_jump_across_with
which looked strangely so I have added test_jump_across_with_2
just for the case of an error in the former.
Actually test_jump_across_with
may be working as intended. Once it caught a bug in my code when most of other tests were passed.
test_jump_across_with_2
itself can catch other bug. Both source and destination have the same level of nesting. Just they are nested in different blocks.
Thus I'll keep both tests.