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.
Provides
Requires
License
Apache-2.0
Changelog
* Tue Jan 27 2026 Dirk Müller <dmueller@suse.com>
- update to 6.0.0:
* Removes some deprecated functionality, removes support for
Python < 3.10.
* removed support for Python versions < 3.10; patch releases
based on `pyfakefs` 5.10 supporting older versions may be
made on demand
* removed support for patching legacy modules `scandir` and
`pathlib2`
* changed the default for
`FakeFilesystem.shuffle_listdir_results` to `True` to reflect
* the real filesystem behavior