mirror of
https://github.com/AstrBotDevs/AstrBot
synced 2026-07-19 10:22:04 +08:00
Real bash subprocess via PersistentShellSession binds stdin/stdout to the creating event loop. pytest-asyncio's per-function loop switching caused 'Future attached to a different loop' errors. Mock the session instead. Also remove the unused session-level cleanup fixture and patch.
33 KiB
33 KiB