original_docstring:  Fixture factory for inserting config files into tmp project dir 
docstring: Fixture factory for inserting config files into tmp project dir
docstring_tokens: Fixture factory for inserting config files into tmp project dir
code: def insert_project_files(sandbox):
      """ Fixture factory for inserting config files into tmp project dir """
      def inner(package=False, lock=False):
          if package:
              sandbox['proj_package'].write_text(PACKAGE_JSON)
          if lock:
              sandbox['proj_lock'].write_text(LOCK_JSON)
          return sandbox  # Forward sandbox paths as own return value
      return inner
code_tokens: def insert_project_files ( sandbox ) : def inner ( package = False , lock = False ) : if package : sandbox [ 'proj_package' ] . write_text ( PACKAGE_JSON ) if lock : sandbox [ 'proj_lock' ] . write_text ( LOCK_JSON ) return sandbox return inner
short_docstring: Fixture factory for inserting config files into tmp project dir
short_docstring_tokens: Fixture factory for inserting config files into tmp project dir
comment: """ Fixture factory for inserting config files into tmp project dir """$SEP$# Forward sandbox paths as own return value