Repository navigation
Commit 2407005
committed
Fix CI: force fresh list buffer alloc in test_no_memory (gh-126703)
Small-list freelist entries keep their ob_item buffers, so a plain [None]
after inject_memory_error() may succeed instead of failing. Repeat the list
to a size the freelists cannot satisfy, forcing a real allocation.
Co-authored-by: Muse Code (Meta Muse Spark)1 parent 69dd56b commit 2407005
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
384 | 384 | | |
385 | 385 | | |
386 | 386 | | |
387 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
388 | 390 | | |
389 | 391 | | |
390 | 392 | | |
| |||
0 commit comments