Skip to content

chore: Disable Anki's sound setup in tests - #1382

Merged
abdnh merged 1 commit into
mainfrom
tests-disable-sound
Sep 7, 2026
Merged

chore: Disable Anki's sound setup in tests#1382
abdnh merged 1 commit into
mainfrom
tests-disable-sound

Conversation

@abdnh

@abdnh abdnh commented Sep 7, 2026

Copy link
Copy Markdown
Member

Related issues

None. Dev-only change.

Proposed changes

This patches Anki's aqt.main.AnkiQt.setup_sound method in tests to suppress mpv errors on some systems (Windows).

How to reproduce

Try running tests locally on Windows or macOS (?) and confirm you don't see errors such as "mpv timed out, restarting".

@abdnh
abdnh requested a review from RisingOrange September 7, 2026 11:38
@abdnh
abdnh merged commit d3b8721 into main Sep 7, 2026
8 checks passed
@abdnh
abdnh deleted the tests-disable-sound branch September 7, 2026 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants