Commit c70ee5e
test: skip tkinter scheduler tests on PyPy (all platforms)
The module creates `tkinter.Tk()` at import time. During PyPy interpreter
shutdown, `_tkinter/app.py`'s `__del__` calls `threading.notify_all`,
which can abort the process with `Fatal Python error: Aborted`. When
this happens inside an xdist worker it takes the worker down and fails
whichever unrelated test happens to be running (e.g. test_case_three),
showing up as a non-deterministic CI failure.
The skip guard previously only covered macOS+PyPy; extend it to all
PyPy platforms so the Linux PyPy job stops flaking.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dbf4da0 commit c70ee5e
2 files changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| |||
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments