[issue21522] Add more tkinter tests

Ned Deily report at bugs.python.org
Fri May 23 21:10:55 CEST 2014


Ned Deily added the comment:

Failing tests with Tk 8.4 (Carbon Tk 8.4.20 on OS X):


======================================================================
ERROR: test_paneconfigure_hide (tkinter.test.test_tkinter.test_widgets.PanedWindowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/test/test_tkinter/test_widgets.py", line 995, in test_paneconfigure_hide
    self.check_paneconfigure(p, b, 'hide', False, 0)
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/test/test_tkinter/test_widgets.py", line 967, in check_paneconfigure
    p.paneconfigure(b, **{name: value})
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/__init__.py", line 3818, in paneconfigure
    self._options(cnf, kw))
_tkinter.TclError: unknown option "-hide"

======================================================================
ERROR: test_paneconfigure_stretch (tkinter.test.test_tkinter.test_widgets.PanedWindowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/test/test_tkinter/test_widgets.py", line 1027, in test_paneconfigure_stretch
    self.check_paneconfigure(p, b, 'stretch', 'alw', 'always')
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/test/test_tkinter/test_widgets.py", line 967, in check_paneconfigure
    p.paneconfigure(b, **{name: value})
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/__init__.py", line 3818, in paneconfigure
    self._options(cnf, kw))
_tkinter.TclError: unknown option "-stretch"

======================================================================
FAIL: test_paneconfigure_height (tkinter.test.test_tkinter.test_widgets.PanedWindowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/test/test_tkinter/test_widgets.py", line 989, in test_paneconfigure_height
    self.check_paneconfigure(p, b, 'height', 10, 10)
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/test/test_tkinter/test_widgets.py", line 968, in check_paneconfigure
    self.assertEqual(p.paneconfigure(b, name)[4], expected)
AssertionError: <pixel object: '10'> != 10

======================================================================
FAIL: test_paneconfigure_width (tkinter.test.test_tkinter.test_widgets.PanedWindowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/test/test_tkinter/test_widgets.py", line 1034, in test_paneconfigure_width
    self.check_paneconfigure(p, b, 'width', 10, 10)
  File "/py/dev/3x/root/fwd/Library/Frameworks/pytest_10.9.framework/Versions/3.5/lib/python3.5/tkinter/test/test_tkinter/test_widgets.py", line 968, in check_paneconfigure
    self.assertEqual(p.paneconfigure(b, name)[4], expected)
AssertionError: <pixel object: '10'> != 10

----------
nosy: +ned.deily
resolution: fixed -> 
status: closed -> open

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


More information about the Python-bugs-list mailing list