code: def test_create_time_step(self):
      ts = time_step.TimeStep.create_time_step(
          observation=1,
          done=True,
          raw_reward=1.0,
          processed_reward=1,
          action=1,
          info={1: 1, 2: 4},
      )
  
      self.assertEqual(1, ts.observation)
      self.assertTrue(ts.done)
      self.assertNear(1.0, ts.raw_reward, 1e-6)
      self.assertEqual(1, ts.processed_reward)
      self.assertEqual(1, ts.action)
      self.assertEqual({1: 1, 2: 4}, ts.info)
  
file_path: tensor2tensor/tensor2tensor/envs/time_step_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensor2tensor.envs import time_step
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the TimeStepTest obj's underlying member method code with example usage: obj.test_create_time_step() without return types