code: def test_maximum_invalid_dtypes(device, dtype):
      shape = (3, 2)
      bool_array = chainerx.array(array_utils.uniform(shape, "bool_"))
      numeric_array = chainerx.array(array_utils.uniform(shape, dtype))
      with pytest.raises(chainerx.DtypeError):
          chainerx.maximum(bool_array, numeric_array)
      with pytest.raises(chainerx.DtypeError):
          chainerx.maximum(numeric_array, bool_array)
  
imports: import chainer
  import numpy
  import pytest
  import chainerx
  import chainerx.testing
  from chainerx_tests import array_utils
  from chainerx_tests import dtype_utils
  from chainerx_tests import math_utils
  from chainerx_tests import op_utils
label_desc: Use image node_id 3 for calling a global function with example usage: test_maximum_invalid_dtypes(device, dtype) without return types