code: def check_unary_complex_unsupported(self, name, dtype):
      for xp in (numpy, cupy):
          a = testing.shaped_arange((2, 3), xp, dtype)
          with pytest.raises(TypeError):
              getattr(xp, name)(a)
  
imports: import unittest
  import warnings
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 3 for calling the TestRounding obj's underlying member method code with example usage: obj.check_unary_complex_unsupported(name, dtype) without return types