code: def test_frame_related():
      g = _g(1)
      f = g.gi_frame
      e, t = _f()
      _is = lambda ok: ok
      ok = dill.pickles(f)
      if verbose:
          print("%s: %s, %s" % (ok, type(f), f))
      assert not ok
      ok = dill.pickles(g)
      if verbose:
          print("%s: %s, %s" % (ok, type(g), g))
      assert _is(not ok)  # XXX: dill fails
      ok = dill.pickles(t)
      if verbose:
          print("%s: %s, %s" % (ok, type(t), t))
      assert not ok  # XXX: dill fails
      ok = dill.pickles(e)
      if verbose:
          print("%s: %s, %s" % (ok, type(e), e))
      assert ok
      if verbose:
          print("")
  
file_path: dill/dill/tests/test_selected.py
imports: import dill
  from dill import objects
  from dill import load_types
label_desc: Use image node_id 6 for calling a global function with example usage: test_frame_related() without return types