class_docstr: Class template for building the scipy real to real tests.
      
docstr: Test transformation over a single, scalar axis.
          
docstr_tok: ["Test","transformation","over","a","single",",","scalar","axis","."]
code: def test_axes_scalar(self):
      """Test transformation over a single, scalar axis."""
      for transform_type in transform_types:
          data_hat_p = self.pyfftw_func(
              self.data, type=transform_type, overwrite_x=False, axes=-1
          )
          self.assertEqual(
              numpy.linalg.norm(self.data - self.data_copy), 0.0
          )
          data_hat_s = self.scipy_func(
              self.data, type=transform_type, overwrite_x=False, axes=-1
          )
          self.assertTrue(
              numpy.allclose(
                  data_hat_p, data_hat_s, atol=self.atol, rtol=self.rtol
              )
          )
  
imports: import pyfftw
  import numpy
  from packaging.version import Version
  import unittest
  from pyfftw import _supported_types
  from .test_pyfftw_base import run_test_suites, miss
  from .None import test_pyfftw_numpy_interface
label_desc: Use image node_id 3 for calling the InterfacesScipyR2RFFTNTest obj's underlying member method code with example usage: obj.test_axes_scalar() without return types