code: def check_dill(
      pool, verbose=False
  ):  # test function that should fail in pickle
      if verbose:
          print(pool)
          print("x: %s\n" % str(x))
  
          print(pool.map.__name__)
      # start = time.time()
      try:
          res = pool.map(square_plus_one, x)
      except:
          assert False  # should use a smarter test here...
          # end = time.time() - start
          #    print("time to results: %s" % end)
          print("y: %s\n" % str(res))
      assert True
  
file_path: pathos/pathos/tests/test_star.py
imports: import time
label_desc: Use image node_id 7 for calling a global function with example usage: check_dill(pool, verbose) without return types