code: def cleanup():
      for module in submodules:
          module.setup()
  
      yield
  
      for module in submodules:
          assert module.is_ok()
  
file_path: coremltools/deps/pybind11/tests/test_eigen_tensor.py
imports: import sys
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: cleanup() without return types