code: def test_times_called(self):
      orig = cupy.ndarray
      with testing.AssertFunctionIsCalled(
          "cupy.ndarray", times_called=2
      ):
          cupy.ndarray((2, 3), numpy.float32)
          cupy.ndarray((2, 3), numpy.float32)
      assert cupy.ndarray is orig
  
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy import testing
label_desc: Use image node_id 5 for calling the TestAssertFunctionIsCalled obj's underlying member method code with example usage: obj.test_times_called() without return types