class_docstr: Generically tests our memory leak diagnostics tools.
class_docstr_tok: ["Generically","tests","our","memory","leak","diagnostics","tools","."]
code: def tearDownClass(cls):
      ray.shutdown()
  
file_path: ray/rllib/algorithms/tests/test_memory_leaks.py
imports: import unittest
  import ray
  import ray.rllib.algorithms.dqn
  import ray.rllib.algorithms.ppo
  from ray.rllib.examples.env.memory_leaking_env import MemoryLeakingEnv
  from ray.rllib.examples.policy.memory_leaking_policy import MemoryLeakingPolicy
  from ray.rllib.policy.policy import PolicySpec
  from ray.rllib.utils.debug.memory import check_memory_leaks
label_desc: Use image node_id 2 for calling the TestMemoryLeaks obj's underlying member method code with example usage: obj.tearDownClass(cls) without return types