code: def test_update_data_with_shape_error(self):
      in_shape = self.input_shapes["2d"]
      out_shape = self.output_shapes["2d"]
  
      axes = (-1,)
      a, b = self.create_test_arrays(in_shape, out_shape)
  
      fft, ifft = self.run_validate_fft(a, b, axes)
  
      in_shape = (in_shape[0] - 10, in_shape[1])
      out_shape = (out_shape[0], out_shape[1] + 5)
  
      a_, b_ = self.create_test_arrays(in_shape, out_shape)
  
      with self.assertRaisesRegex(ValueError, "Invalid input shape"):
          self.run_validate_fft(
              a_, b, axes, fft=fft, ifft=ifft, create_array_copies=False
          )
  
      with self.assertRaisesRegex(ValueError, "Invalid output shape"):
          self.run_validate_fft(
              a, b_, axes, fft=fft, ifft=ifft, create_array_copies=False
          )
  
imports: from pyfftw import FFTW, byte_align, empty_aligned, forget_wisdom
  import pyfftw
  import numpy
  from timeit import Timer
  import time
  import unittest
  from .test_pyfftw_base import FFTWBaseTest, run_test_suites, miss, np_fft
label_desc: Use image node_id 25 for calling the Complex64FFTW1DTest obj's underlying member method code with example usage: obj.test_update_data_with_shape_error() without return types