code: def modules_tmp_path_prefix(modules_tmp_path, monkeypatch):
      monkeypatch.setattr(sys, "prefix", os.fspath(modules_tmp_path))
      return modules_tmp_path
  
file_path: flask/tests/conftest.py
imports: import os
  import pkgutil
  import sys
  import pytest
  from _pytest import monkeypatch
  from flask import Flask
  from flask.globals import request_ctx
label_desc: Use image node_id 11 for calling a global function with example usage: modules_tmp_path_prefix(modules_tmp_path, monkeypatch) and returns: modules_tmp_path