code: def _preproc() -> ExecutePreprocessor:
      pythonkernel = "python" + str(sys.version_info[0])
      return ExecutePreprocessor(
          timeout=300,
          kernel_name=pythonkernel,
          interrupt_on_timeout=True,
      )
  
file_path: GPflow/tests/integration/test_notebooks.py
imports: import itertools
  import sys
  import traceback
  from pathlib import Path
  from typing import Sequence, Set
  import jupytext
  import nbformat
  import pytest
  from nbclient.exceptions import CellExecutionError
  from nbconvert.preprocessors.execute import ExecutePreprocessor
label_desc: Use image node_id 3 for calling a global function with example usage: _preproc() and returns: ExecutePreprocessor