Commit c4992f4
authored
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.
1 parent efa738e commit c4992f4
File tree
3 files changed
+16
-16
lines changed- Lib/idlelib
- idle_test
- Misc/NEWS.d/next/IDLE
3 files changed
+16
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | 423 | | |
427 | 424 | | |
428 | | - | |
429 | | - | |
430 | 425 | | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
437 | 431 | | |
438 | 432 | | |
439 | 433 | | |
440 | 434 | | |
441 | 435 | | |
442 | 436 | | |
443 | 437 | | |
444 | | - | |
445 | | - | |
| 438 | + | |
| 439 | + | |
446 | 440 | | |
447 | 441 | | |
448 | 442 | | |
| 443 | + | |
449 | 444 | | |
450 | | - | |
451 | | - | |
452 | | - | |
| 445 | + | |
| 446 | + | |
453 | 447 | | |
| 448 | + | |
454 | 449 | | |
| 450 | + | |
| 451 | + | |
455 | 452 | | |
456 | 453 | | |
457 | 454 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments