]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-145736: Fix test_tkinter test_configure_values test case backport miss...
authorNed Deily <nad@python.org>
Tue, 5 May 2026 22:24:38 +0000 (18:24 -0400)
committerGitHub <noreply@github.com>
Tue, 5 May 2026 22:24:38 +0000 (18:24 -0400)
Lib/test/test_tkinter/test_widgets.py
Misc/NEWS.d/next/Tests/2026-05-05-17-08-36.gh-issue-145736.JYdLx4.rst [new file with mode: 0644]

index fe28ebd24a492261a7d66c131ef06871c9533de5..1c400e970eb02da19a43f1bb0fae5f8d0e59bfc5 100644 (file)
@@ -576,7 +576,8 @@ class SpinboxTest(EntryTest, unittest.TestCase):
         else:
             expected = (42, 3.14, '', 'any string')
         self.checkParam(widget, 'values', (42, 3.14, '', 'any string'),
-                        expected='42 3.14 {} {any string}')
+                        expected=expected)
+
         self.checkParam(widget, 'values', '')
 
     def test_configure_wrap(self):
diff --git a/Misc/NEWS.d/next/Tests/2026-05-05-17-08-36.gh-issue-145736.JYdLx4.rst b/Misc/NEWS.d/next/Tests/2026-05-05-17-08-36.gh-issue-145736.JYdLx4.rst
new file mode 100644 (file)
index 0000000..9f3e890
--- /dev/null
@@ -0,0 +1 @@
+Fix test_tkinter test_configure_values test case backport miss for Tk 9.