Skip to content

Tkinter: test_boundary_values_accepted fails #154357

Description

@ByteFlowing1337

Bug report

Bug description:

test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted is failing, for example in this run https://github.com/python/cpython/actions/runs/29705949750/job/88242885156?pr=154202:

======================================================================
FAIL: test_boundary_values_accepted (test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\test\test_tkinter\test_simpledialog.py", line 246, in test_boundary_values_accepted
    self.assertEqual(d.result, 10)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
AssertionError: None != 10

----------------------------------------------------------------------

I can also reproduce the failure locally on the main branch:

======================================================================
FAIL: test_boundary_values_accepted (test.test_tkinter.test_simpledialog.QueryDialogTest.test_boundary_values_accepted)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/a/cpython/Lib/test/test_tkinter/test_simpledialog.py", line 536, in test_boundary_values_accepted
    self.assertEqual(d.result, 20)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
AssertionError: None != 20

======================================================================

CPython versions tested on:

CPython main branch

Operating systems tested on:

Linux, Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-tkintertype-bugAn unexpected behavior, bug, or error

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions