code: def test_gcd_dtype_check(self, dtype):
      a = cupy.random.randint(-10, 10, size=(10, 10)).astype(dtype)
      b = cupy.random.randint(-10, 10, size=(10, 10)).astype(dtype)
      with pytest.raises(TypeError):
          cupy.gcd(a, b)
  
file_path: cupy/tests/cupy_tests/math_tests/test_rational.py
imports: import unittest
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 1 for calling the TestRational obj's underlying member method code with example usage: obj.test_gcd_dtype_check(dtype) without return types