-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Add more tkinter tests #65721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Here is a patch which adds tests for Listbox.itemconfigure(), PanedWindow.paneconfigure() and several tests for Menu.entryconfigure(). |
New changeset a7082e2898aa by Serhiy Storchaka in branch '2.7': New changeset f7c012ff33cb by Serhiy Storchaka in branch '3.4': New changeset 4034c96a98a7 by Serhiy Storchaka in branch 'default': |
Failing tests with Tk 8.4 (Carbon Tk 8.4.20 on OS X): ====================================================================== 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" ====================================================================== 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" ====================================================================== 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 ====================================================================== 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 |
New changeset c7ee46ed2d70 by Serhiy Storchaka in branch '2.7': New changeset 854404294f34 by Serhiy Storchaka in branch '3.4': New changeset 1079772e7309 by Serhiy Storchaka in branch 'default': |
Thank you Ned. My fault. |
Yes, that fixes 8.4, thanks! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: