File: local_import.py

package info (click to toggle)
python-pyfakefs 5.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,476 kB
  • sloc: python: 20,153; makefile: 4
file content (4 lines) | stat: -rw-r--r-- 132 bytes parent folder | download
1
2
3
4
def load(path: str) -> str:
    from pyfakefs.pytest_tests import lib_using_pathlib

    return lib_using_pathlib.use_pathlib(path)