Has anyone released a Python "mock filesystem" for automated testing?

JanC usenet_spam at janc.invalid
Wed Nov 10 14:50:13 CET 2004

Peter Hansen schreef:

>> Just out of curiosity, does your os implement some form of disk in
>> memory disk? Go to <URL: http://www.FreeBSD.org/cgi/man.cgi > and
>> search for either mfs or md for examples.
> I need to be cross-platform, so Windows and Linux must both
> be supported.  I suspect there isn't good support on Windows
> for the sort of thing you describe.

DOS (and later Windows) have had "ram disks" for at least 20 years...

One freeware example for Windows:


"Be strict when sending and tolerant when receiving."
RFC 1958 - Architectural Principles of the Internet - section 3.9

More information about the Python-list mailing list