code: def tmp_h5(tmp_path):
      yield tmp_path / "data.h5"
  
file_path: pyqtgraph/tests/exporters/test_hdf5.py
imports: import numpy
  import pytest
  from numpy.testing import assert_equal
  import pyqtgraph
  from pyqtgraph.exporters import HDF5Exporter
label_desc: Use image node_id 1 for calling a global function with example usage: tmp_h5(tmp_path) without return types