-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Tkinter: test failure due to Tk 8.6.14 listbox bugfix #107262
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
I have no experience with the options database. Are we currently testing for buggy behavior? |
We are currently testing for the current behavior. They change Tk tests, so we should also change corresponding Tkinter tests. Either make them more lenient, so they will pass on all version (we can use mock.ANY for this), or expect different result depending on the Tk patch level, or only test this assertion on the fixed Tk with the correct result. The exact value is not so important as its "form" -- we test that Do you want to create a PR @chrstphrchvz? |
Co-authored-by: Serhiy Storchaka <[email protected]>
) (cherry picked from commit 9732ed5) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
) (cherry picked from commit 9732ed5) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…H-119806) (cherry picked from commit 9732ed5) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…H-119807) (cherry picked from commit 9732ed5) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
) Co-authored-by: Serhiy Storchaka <[email protected]>
) Co-authored-by: Serhiy Storchaka <[email protected]>
) Co-authored-by: Serhiy Storchaka <[email protected]>
) Co-authored-by: Serhiy Storchaka <[email protected]>
We need to backport this to 3.9, because it's still using And the upgrade to newer Ubuntu also upgrades Tk. |
) (cherry picked from commit 9732ed5) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
) (cherry picked from commit 9732ed5) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
) (cherry picked from commit 9732ed5) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…130276) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]>
…130274) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
…130275) Co-authored-by: James De Bias <[email protected]> Co-authored-by: Serhiy Storchaka <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]>
The current output of the
itemconfigure
command for listbox widgets falsely suggests that the configuration of listbox items is influenced by the options database (if I understand correctly). This will be fixed in Tk 8.6.14: see https://core.tcl-lang.org/tk/info/ed8eae599d76 and https://core.tcl-lang.org/tk/vdiff?from=edf00be1&to=025022a4Although
tkinter.Listbox.itemconfigure()
will still work properly, test.test_tkinter.test_widgets.ListboxTest.test_itemconfigure will fail since it expects the erroneous output:Linked PRs
The text was updated successfully, but these errors were encountered: