code: def test_rotate_none_and_cv2(self):
      backends = [None, "cv2"] if _cv2_available else [None]
      for backend in backends:
          img = np.random.uniform(0, 256, size=self.size).astype(
              np.float32
          )
          angle = random.uniform(-180, 180)
  
          with chainer.using_config("cv_rotate_backend", backend):
              out = rotate(
                  img,
                  angle,
                  fill=self.fill,
                  interpolation=self.interpolation,
              )
              opposite_out = rotate(
                  img,
                  -angle,
                  fill=self.fill,
                  interpolation=self.interpolation,
              )
  
          assert out.shape[1:] == opposite_out.shape[1:]
  
file_path: chainercv/tests/transforms_tests/image_tests/test_rotate.py
imports: import PIL
  import random
  import unittest
  import numpy
  import chainer
  from chainer import testing
  from chainercv.transforms import flip
  from chainercv.transforms import rotate
label_desc: Use image node_id 2 for calling the TestRotate obj's underlying member method code with example usage: obj.test_rotate_none_and_cv2() without return types