code: def test_uninit(tmpdir):
      fn = str(tmpdir.join("EMCEE_TEST_FILE_DO_NOT_USE.h5"))
      if os.path.exists(fn):
          os.remove(fn)
  
      with backends.HDFBackend(fn) as be:
          run_sampler(be)
  
      assert os.path.exists(fn)
      os.remove(fn)
  
file_path: emcee/src/emcee/tests/unit/test_backends.py
imports: import os
  from itertools import product
  from os.path import join
  import numpy
  import pytest
  from emcee import EnsembleSampler, State, backends
  from emcee.backends.hdf import does_hdf5_support_longdouble
label_desc: Use image node_id 5 for calling a global function with example usage: test_uninit(tmpdir) without return types