Linux users: please run gui tests

Laura Creighton lac at openend.se
Fri Aug 7 16:35:54 EDT 2015


In a message of Fri, 07 Aug 2015 21:13:02 +0200, Peter Otten writes:
>test_set() was introduced in a bugfix
>
>http://bugs.python.org/issue15133
>https://hg.python.org/cpython/rev/117f45749359/
>
>that I don't have on my machine (up-to-date Linux Mint 17).  When I download
>
>https://hg.python.org/cpython/file/117f45749359/Lib/tkinter/test/test_tkinter/test_variables.py
>
>and manually run that file I get errors similar to those you are reporting:
>
>$ python3 test_variables.py | grep -v ok$
>test_default (__main__.TestBooleanVar) ... FAIL
>test_get (__main__.TestBooleanVar) ... FAIL
>test_invalid_value_domain (__main__.TestBooleanVar) ... FAIL
>test_set (__main__.TestBooleanVar) ... FAIL

>This leads me to believe that your tests and the tkinter shared library may 
>not match. Does
>
>$ python3 -c 'import _tkinter; print(_tkinter)'
><module '_tkinter' from '/usr/lib/python3.4/lib-
>dynload/_tkinter.cpython-34m-x86_64-linux-gnu.so'>
>
>show something suspicious?

lac at smartwheels:~$ python3 -c 'import _tkinter; print(_tkinter)'
<module '_tkinter' from '/usr/lib/python3.4/lib-dynload/_tkinter.cpython-34m-x86_64-linux-gnu.so'>

Laura




More information about the Python-list mailing list