(self)
| 136 | safe_PlaySound(path, winsound.SND_FILENAME | winsound.SND_NODEFAULT) |
| 137 | |
| 138 | def test_snd_filepath_as_bytes(self): |
| 139 | fn = support.findfile('pluck-pcm8.wav', subdir='audiodata') |
| 140 | self.assertRaises( |
| 141 | TypeError, |
| 142 | winsound.PlaySound, |
| 143 | os_helper.FakePath(os.fsencode(fn)), |
| 144 | winsound.SND_FILENAME | winsound.SND_NODEFAULT |
| 145 | ) |
| 146 | |
| 147 | def test_aliases(self): |
| 148 | aliases = [ |
nothing calls this directly
no test coverage detected