code: def check_type_error(self, x):
      with self.assertRaises(type_check.InvalidType):
          functions.cumsum(x, self.axis)
  
imports: import unittest
  import numpy
  from chainer.backends import cuda
  from chainer import functions
  from chainer import testing
  from chainer.testing import attr
  from chainer.utils import force_array
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling the TestCumsumInvalidTypeAxis obj's underlying member method code with example usage: obj.check_type_error(x) without return types