# pytest-dev/pyfakefs

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/pytest-dev-pyfakefs).**

746 stars · 99 forks · Python · Apache-2.0

## Links

- GitHub: https://github.com/pytest-dev/pyfakefs
- Homepage: https://pytest-pyfakefs.readthedocs.io
- awesome-repositories: https://awesome-repositories.com/repository/pytest-dev-pyfakefs.md

## Description

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.

## Tags

### Part of an Awesome List

- [Testing Plugins](https://awesome-repositories.com/f/awesome-lists/devtools/testing-plugins.md) — Mocking the file system for isolated testing.
