code: def test_wisdom_only(self):
      in_shape = self.input_shapes["small_1d"]
      out_shape = self.output_shapes["small_1d"]
  
      axes = (0,)
      a, b = self.create_test_arrays(in_shape, out_shape)
      forget_wisdom()
      # with no wisdom, an error should be raised with FFTW_WISDOM_ONLY
      #
      # NB: wisdom is specific to aligned/unaligned distinction, so we must
      # ensure that the arrays don't get copied (and potentially
      # switched between aligned and unaligned) by run_validate_fft()...
      self.assertRaisesRegex(
          RuntimeError,
          "No FFTW wisdom",
          self.run_validate_fft,
          *(a, b, axes),
          **{
              "flags": ("FFTW_ESTIMATE", "FFTW_WISDOM_ONLY"),
              "create_array_copies": False,
          },
      )
      # now plan the FFT
      self.run_validate_fft(
          a,
          b,
          axes,
          flags=("FFTW_ESTIMATE",),
          create_array_copies=False,
      )
      # now FFTW_WISDOM_ONLY should not raise an error because the plan should
      # be in the wisdom
      self.run_validate_fft(
          a,
          b,
          axes,
          flags=("FFTW_ESTIMATE", "FFTW_WISDOM_ONLY"),
          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 10 for calling the Complex64FFTW1DTest obj's underlying member method code with example usage: obj.test_wisdom_only() without return types