Commit aa9a572
committed
fix: skip DummyThread in leaked-thread check (Python 3.9-3.11 compat)
DummyThread instances (created by Python for foreign threads) raise
AssertionError on join() in Python <3.12. Filter them out alongside
asyncio threads since they are not leaked by test code.1 parent 1bf6e06 commit aa9a572
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
312 | | - | |
313 | | - | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
314 | 319 | | |
315 | 320 | | |
316 | 321 | | |
| |||
0 commit comments