code: def _exec_notebook(self, ep, filename):
      with open(filename) as f:
          nb = nbformat.read(f, as_version=nbformat.current_nbformat)
          try:
              out = ep.preprocess(nb, {})
          except CellExecutionError:
              print("-" * 60)
              traceback.print_exc(file=sys.stdout)
              print("-" * 60)
              self.assertTrue(
                  False,
                  "Error executing the notebook %s. See above for error."
                  % filename,
              )
  
file_path: edward/tests/notebooks/notebooks_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import glob
  import nbformat
  import os
  import sys
  import time
  import traceback
  import tensorflow
  from nbconvert.preprocessors import ExecutePreprocessor
  from nbconvert.preprocessors.execute import CellExecutionError
label_desc: Use image node_id 1 for calling the test_notebooks obj's underlying member method code with example usage: obj._exec_notebook(ep, filename) without return types