def METHOD_NAME(self):
    orig = cupy.ndarray
    with pytest.raises(AssertionError):
        with testing.AssertFunctionIsCalled('cupy.ndarray'):
            cupy.ndarray((2, 3), numpy.float32)
            cupy.ndarray((2, 3), numpy.float32)
    assert cupy.ndarray is orig