-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify test_winsound #71935
Comments
test_winsound is rather annoying. It currently attempts to determine whether a sound card is present, and whether particular system sounds are available. These checks are fragile at best, and I routinely see failures that shouldn't be. In particular, if I have an open RDP session to my ware-win81-release buildbot, test_winsound fails because it thinks the sounds should fail to play, but instead they succeed. Rather than attempt to make the checks more robust, I suggest that we instead rip out the checks and simply ensure that each call that might succeed either returns normally or raises RuntimeError. After all, we can't actually test whether a sound really played or not. |
New changeset 4c91651912d1 by Zachary Ware in branch '2.7': New changeset 82467d0dbaea by Zachary Ware in branch '3.5': New changeset 27cbdd8cf67f by Zachary Ware in branch 'default': |
New changeset 6137d0ed0a15 by Zachary Ware in branch '2.7': New changeset f845e24d794e by Zachary Ware in branch '3.5': New changeset 5e8b865ffedd by Zachary Ware in branch 'default': |
New changeset fb74947843eb by Zachary Ware in branch '2.7': New changeset e85ce70b73b3 by Zachary Ware in branch '3.5': New changeset 29300ed6dffe by Zachary Ware in branch 'default': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: