def METHOD_NAME(self):
    b = b'RIFF' + struct.pack('<L', 36) + b'WAVE'
    b += b'fmt ' + struct.pack('<LHHLLHH', 16, 2, 1, 11025, 11025, 1, 1)
    b += b'data' + struct.pack('<L', 0)
    with self.assertRaisesRegex(wave.Error, 'unknown format: 2'):
        wave.open(io.BytesIO(b))