code: def test_imag_nocomplex(self, xp, dtype):
      x = testing.shaped_arange(self.shape, xp, dtype=dtype)
      imag = xp.imag(x)
      return imag
  
imports: import itertools
  import warnings
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 4 for calling the TestComplex obj's underlying member method code with example usage: obj.test_imag_nocomplex(xp, dtype) and returns: imag