code: def test_call_cudnn_forward(self):
      with chainer.using_config("use_cudnn", self.use_cudnn):
          with testing.patch("cupy.cudnn.pooling_forward") as func:
              self.forward()
              self.assertEqual(
                  func.called, chainer.should_use_cudnn(">=auto")
              )
  
imports: import unittest
  import numpy
  import chainer
  from chainer.backends import cuda
  from chainer import functions
  from chainer import gradient_check
  from chainer import testing
  from chainer.testing import attr
  from chainer.testing import condition
  from chainer.utils import type_check
  from chainer_tests.functions_tests.pooling_tests import pooling_nd_helper
label_desc: Use image node_id 3 for calling the TestMaxPooling2DCudnnCall obj's underlying member method code with example usage: obj.test_call_cudnn_forward() without return types