code: def test_python():
      check_python_eval("dir()")
      check_python_exec("dir()")
  
      def dummy_dir(*args, **kwargs):
          """Ensure that we pass all placeholders as kwargs"""
          assert not args
          return kwargs
  
      check_python_eval(dummy_dir)
  
file_path: datalad/datalad/local/tests/test_foreach_dataset.py
imports: import os.path
  import sys
  from pathlib import Path
  import pytest
  from datalad.api import create
  from datalad.distribution.dataset import Dataset
  from datalad.tests.utils_pytest import assert_false, assert_greater, assert_in, assert_not_in, assert_status, eq_, get_deeply_nested_structure, ok_clean_git, swallow_outputs, with_tempfile
label_desc: Use image node_id 6 for calling a global function with example usage: test_python() and returns: kwargs