class_docstr: Run a set of generic tests to verify that cumsum/cumprod are sane.
code: def test_axis_bad_tuple(self, func):
      # Basic check of functionality
      m = np.array([[0, 1, 7, 0, 0], [3, 0, 0, 2, 19]])
      with assert_raises(TypeError):
          func(m, axis=(1, 1))
  
imports: from unittest import skipIf, SkipTest
  import numpy
  import pytest
  from pytest import raises
  from torch.testing._internal.common_utils import instantiate_parametrized_tests, parametrize, run_tests, TEST_WITH_TORCHDYNAMO, TestCase, xpassIfTorchDynamo
label_desc: Use image node_id 4 for calling the TestGenericCumSumProd obj's underlying member method code with example usage: obj.test_axis_bad_tuple(func) without return types