code: def test_values(self, input_param, test_data):
      result = ToPILd(**input_param)(test_data)[input_param["keys"]]
      self.assertTrue(isinstance(result, PILImageImage))
      assert_allclose(
          np.array(result),
          test_data[input_param["keys"]],
          type_test=False,
      )
  
file_path: MONAI/tests/test_to_pild.py
imports: from __future__ import annotations
  import unittest
  from typing import TYPE_CHECKING
  from unittest import skipUnless
  import numpy
  from parameterized import parameterized
  from monai.transforms import ToPILd
  from monai.utils import optional_import
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 1 for calling the TestToPIL obj's underlying member method code with example usage: obj.test_values(input_param, test_data) without return types