[issue19085] Add tkinter basic options tests

Vajrasky Kok report at bugs.python.org
Sun Nov 3 14:07:01 CET 2013


Vajrasky Kok added the comment:

Serhiy,

In Python3.4, Windows Vista 32 bit, Release Mode, Tcl/Tk 8.5.15, I got a lot of errors. However, if I set _conv_pixels to round in Lib/tkinter/test/widget_tests.py, everything works fine.

In Python 3.4, Fedora 18, Debug Mode, Tcl/Tk 8.5.13, I got a lot of errors. However, if I set _conv_pixels to round in Lib/tkinter/test/widget_tests.py, I got two errors only.

======================================================================
FAIL: test_insertwidth (__main__.EntryTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Lib/tkinter/test/test_tkinter/test_widgets.py", line 335, in test_insertwidth
    self.checkParam(widget, 'insertwidth', 0.9, expected=2)
  File "/home/sky/Code/python/programming_language/cpython/Lib/tkinter/test/widget_tests.py", line 49, in checkParam
    self.assertEqual2(widget[name], expected, eq=eq)
  File "/home/sky/Code/python/programming_language/cpython/Lib/tkinter/test/widget_tests.py", line 33, in assertEqual2
    self.assertEqual(actual, expected, msg)
AssertionError: 1 != 2

Other error is same.

Hope that helps!

----------
nosy: +vajrasky

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19085>
_______________________________________


More information about the Python-bugs-list mailing list