def METHOD_NAME(self):
    b = b'RIFF' + struct.pack('<L', 4) + b'WAVE'
    with self.assertRaisesRegex(wave.Error,
                                'fmt chunk and/or data chunk missing'):
        wave.open(io.BytesIO(b))