Commit cb932d2
fix: Make test_async_worker_start_no_running_loop sync
Use a sync test to test the no-running-loop path — there's genuinely
no running loop in a sync test, so no mock needed and no leaked
coroutines.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 156f32b commit cb932d2
1 file changed
+3
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1250 | 1250 | | |
1251 | 1251 | | |
1252 | 1252 | | |
1253 | | - | |
1254 | | - | |
1255 | 1253 | | |
1256 | | - | |
| 1254 | + | |
1257 | 1255 | | |
1258 | 1256 | | |
1259 | 1257 | | |
1260 | 1258 | | |
1261 | | - | |
1262 | | - | |
| 1259 | + | |
| 1260 | + | |
1263 | 1261 | | |
1264 | 1262 | | |
1265 | 1263 | | |
| |||
0 commit comments