[issue39600] idle_test: test_fontlist_key() fails if two font families have the same name

STINNER Victor report at bugs.python.org
Mon Feb 10 16:51:40 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

> Victor, your example does not create a Listbox, so that cannot be the issue.  The only change to ConfigDialog when testing is that it is not made modal.  What puzzles me is that test_fontlist_key starts by explicitly activating the first font on the list, so that the first test on the Fedora machine should be 'Android Emoji' != 'Abyssinica SIL'.  Perhaps there is a bug in the tk on that machine.

The test failure comes from our build system where very few fonts are limited. For example, you can imagine that only a few variants of Cantarell are installed.

Sorry, I forgot to mention that the test failure and the list of strings come from two different machines.

The list comes from my laptop where I have many fonts installed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39600>
_______________________________________


More information about the Python-bugs-list mailing list