mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 11:39:29 +08:00
test_cancel_reaps_render_process patches renderer.subprocess.Popen, which is subprocess.Popen itself, to start a 60 s sleeper in place of Manim. On Windows the cancel path's kill_process_tree runs taskkill through subprocess.run, so taskkill became another sleeper, hit its 10 s timeout, and the test failed with TimeoutError after ~11 s. The stub now replaces only the "-m manim" command. test_cleanup_rechecks_group_after_permission_race simulates the POSIX branch on every OS, but Windows has no signal.SIGKILL; give it one for the test. No assertion changes.