code: def test_asnumpy_out(self):
      x = testing.shaped_random((2, 3, 4), cupy, cupy.float64)
      y = cupyx.empty_like_pinned(x)
      y = cupy.asnumpy(x, out=y)
      testing.assert_array_equal(x, y)
      assert isinstance(y.base, cupy.cuda.PinnedMemoryPointer)
      assert y.base.ptr == y.ctypes.data
  
imports: import contextlib
  import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
  import cupyx
label_desc: Use image node_id 2 for calling the TestAsnumpy obj's underlying member method code with example usage: obj.test_asnumpy_out() without return types