class_docstr: A testing implementation for the ALE object in atari games.
class_docstr_tok: ["A","testing","implementation","for","the","ALE","object","in","atari","games","."]
docstr: Returns the number of lives in the atari game.
docstr_tok: ["Returns","the","number","of","lives","in","the","atari","game","."]
code: def lives(self) -> int:
      """Returns the number of lives in the atari game."""
      return 1
  
file_path: gym/tests/wrappers/test_atari_preprocessing.py
imports: import numpy
  import pytest
  from gym.spaces import Box, Discrete
  from gym.wrappers import AtariPreprocessing, StepAPICompatibility
  from tests.testing_env import GenericTestEnv, old_step_fn
label_desc: Use image node_id 1 for calling the AleTesting obj's underlying member method code with example usage: obj.lives() and returns: int