pyfakefs

Community

A fake file system that mocks the Python file system modules.

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::pyfakefs

Try This Package Beta

Usage Tracking

6.3.2
6.3.1
6.3.0
6.2.0
6.1.6
5 / 8 versions selected
Downloads (Last 6 months): 0

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. pyfakefs works with Linux, Windows and macOS.

About

Summary

A fake file system that mocks the Python file system modules.

Last Updated

Nov 4, 2026 at 20:19

License

Apache-2.0

Supported Platforms

noarch