code: def testWrongPolicyInfoType(self):
      dims = (10, 1)
      log_probability = tf.fill(dims, value=-0.5)
      info = policy_step.PolicyInfo(log_probability=log_probability)
      input_tensor = tf.fill(dims, value=_GREEDY)
      result = policy_utilities.set_bandit_policy_type(
          info, input_tensor
      )
      self.assertNotIsInstance(result, policy_utilities.PolicyInfo)
      self.assertAllEqual(info.log_probability, result.log_probability)
  
file_path: agents/tf_agents/bandits/policies/policy_utilities_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import tensorflow
  from tf_agents.policies import utils
  from tf_agents.specs import tensor_spec
  from tf_agents.trajectories import policy_step
  from tf_agents.utils import test_utils
label_desc: Use image node_id 6 for calling the PolicyUtilitiesTest obj's underlying member method code with example usage: obj.testWrongPolicyInfoType() without return types