Lines Matching refs:wave
8 import wave
13 module = wave
110 support.check__all__(self, wave, not_exported={'WAVE_FORMAT_PCM'})
118 wave.open(io.BytesIO(b))
122 with self.assertRaisesRegex(wave.Error,
124 wave.open(io.BytesIO(b))
128 with self.assertRaisesRegex(wave.Error,
130 wave.open(io.BytesIO(b))
134 with self.assertRaisesRegex(wave.Error,
136 wave.open(io.BytesIO(b))
141 with self.assertRaisesRegex(wave.Error,
143 wave.open(io.BytesIO(b))
148 with self.assertRaisesRegex(wave.Error, 'data chunk before fmt chunk'):
149 wave.open(io.BytesIO(b))
155 with self.assertRaisesRegex(wave.Error, 'unknown format: 2'):
156 wave.open(io.BytesIO(b))
162 with self.assertRaisesRegex(wave.Error, 'bad # of channels'):
163 wave.open(io.BytesIO(b))
169 with self.assertRaisesRegex(wave.Error, 'bad sample width'):
170 wave.open(io.BytesIO(b))