pyfakefs
A fake file system that mocks the Python file system modules.
A fake file system that mocks the Python file system modules.
To install this package, run one of the following:
Pyfakefs implements a fake file system that mocks the Python file system modules. Using pyfakefs, your tests operate on a fake file system in memory without touching the real disk. The software under test requires no modification to work with pyfakefs. pyfakefs works with Linux, Windows and macOS.
Summary
A fake file system that mocks the Python file system modules.
Last Updated
Sep 8, 2025 at 14:59
License
Apache-2.0
Total Downloads
4
GitHub Repository
https://github.com/pytest-dev/pyfakefsDocumentation
https://pytest-pyfakefs.readthedocs.io