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