diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2024-01-12 03:10:00 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-12 03:10:00 (GMT) |
commit | c4992f4106aa509375f5beca8dc044a7f6c36a72 (patch) | |
tree | 2f5d898aa82718d0ceb9265dc99d360613ef3a52 /Python/dynamic_annotations.c | |
parent | efa738e862da26f870ca659b01ff732649f400a7 (diff) | |
download | cpython-c4992f4106aa509375f5beca8dc044a7f6c36a72.zip cpython-c4992f4106aa509375f5beca8dc044a7f6c36a72.tar.gz cpython-c4992f4106aa509375f5beca8dc044a7f6c36a72.tar.bz2 |
gh-113903: Fix an IDLE configdialog test (#113973)
test_configdialog.HighPageTest.test_highlight_target_text_mouse fails
if a line of the Highlight tab text sample is not visible. If so, bbox()
in click_char() returns None and the unpacking iteration fails.
This occurred on a Devuan Linux system. Fix by moving the
'see character' call inside click_char, just before the bbox call.
Also, reduce the click_char calls to just one per tag name and
replace the other nested function with a dict comprehension.
Diffstat (limited to 'Python/dynamic_annotations.c')
0 files changed, 0 insertions, 0 deletions