code: def test_bernoulli_bandit_py_environment(self):
      env = bernoulli_py_environment.BernoulliPyEnvironment(
          [0.1, 0.2, 0.3], batch_size=2
      )
      observation_step = env.reset()
      self.assertAllEqual(observation_step.observation.shape, [2])
      reward_step = env.step([0, 1])
      self.assertAllEqual(len(reward_step.reward), 2)
  
file_path: agents/tf_agents/bandits/environments/bernoulli_py_environment_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow
  from tf_agents.bandits.environments import bernoulli_py_environment
label_desc: Use image node_id 1 for calling the BernoulliBanditPyEnvironmentTest obj's underlying member method code with example usage: obj.test_bernoulli_bandit_py_environment() without return types