code: def test_path_split_all():
      ll = "foo bar baz".split()
      path = os.path.join(*ll)
      eq_(list(path_split_all(path)), ll)
  
file_path: hyperopt/hyperopt/tests/unit/test_utils.py
imports: import numpy
  from nose.tools import raises, eq_
  import shutil
  import os
  from hyperopt.utils import fast_isin
  from hyperopt.utils import get_most_recent_inds
  from hyperopt.utils import temp_dir, working_dir, get_closest_dir, path_split_all
label_desc: Use image node_id 5 for calling a global function with example usage: test_path_split_all() without return types