code: def test_nodes():
      check_nodes(ThreadPool())
      if (
          not PYPY38
      ):  # FIXME: fails with "OSError: [Errno 24] Too many open files"
          check_nodes(ProcessPool())
      check_nodes(ParallelPool())
  
file_path: pathos/pathos/tests/test_join.py
imports: from pathos.parallel import *
  from pathos.multiprocessing import *
  from pathos.threading import *
  from pathos.helpers import cpu_count
  import sys
  import dill
label_desc: Use image node_id 8 for calling a global function with example usage: test_nodes() without return types