code: def test_common_type_bool(self, dtype):
      for xp in (numpy, cupy):
          array1 = _generate_type_routines_input(xp, dtype, "array")
          array2 = _generate_type_routines_input(xp, "bool_", "array")
          with pytest.raises(TypeError):
              xp.common_type(array1, array2)
  
file_path: cupy/tests/cupy_tests/test_type_routines.py
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 4 for calling the TestCommonType obj's underlying member method code with example usage: obj.test_common_type_bool(dtype) without return types