Fix a flaky unit test #65

Closed
opened 2026-10-14 18:43:48 +02:00 by Tirsvad · 0 comments
Owner

After the merge a unit test of app.main failed in about 1 of 6 full runs because it created a real Tk root; it uses the module's fake root instead, so the unit tests never need a display. Found by running the suite repeatedly.

Phase: MIL-009
Reference: RC-049

After the merge a unit test of `app.main` failed in about 1 of 6 full runs because it created a real Tk root; it uses the module's fake root instead, so the unit tests never need a display. Found by running the suite repeatedly. Phase: MIL-009 Reference: RC-049
Tirsvad added this to the MIL-009: Executable with PyInstaller milestone 2026-10-14 18:43:48 +02:00
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Tirsvad-Udemy-100-days-of-code/031-flash-card#65