Commit 230041f
test: fix event-loop error in capture_wallet no-op test
asyncio.get_event_loop() raises RuntimeError on Python 3.12+ when no
loop is running. Convert the test to async def (asyncio_mode=auto) and
await capture_wallet directly, matching the other async tests in the file.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 80fe070 commit 230041f
1 file changed
Lines changed: 2 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
| 322 | + | |
327 | 323 | | |
328 | 324 | | |
329 | 325 | | |
| |||
0 commit comments