code: def test_axis_overrun(self, axis):
      for xp in (numpy, cupy):
          a = xp.ones((2, 2))
          with pytest.raises(numpy.AxisError):
              a.sum(axis=axis)
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  import cupy._core._accelerator
  from cupy import _core
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestSimpleReductionFunctionInvalidAxis obj's underlying member method code with example usage: obj.test_axis_overrun(axis) without return types