Mockfs

Latest version: v2.0.0

Safety actively analyzes 621907 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

2.0.0

======
* `mockfs.MockFS` can now be used as a context manager.
* The build system is now Python3-only and has been modernized for PEP-517/518.
* `replace_builtins()` now patches `io.open` as well.
* Code is now formatted using `cercis`.

1.1.3

======
* `replace_builtins()` now patches `codecs.open` as well.

1.1.2

======
* Restored Python 2 compatibility. Python 2 compatibility will be removed in a
future release.
* Properly handle writing bytes on Python 3.

1.1.1

======
* Skip patching `os.getcwdu` in `mockfs.install` on Python 3.
* Code is now formatted using `black`.
* Add Tox testing integration wtih Travis-CI.
* Improve Python 3 compatibility.
* Adopt `jaraco/skeleton <https://github.com/jaraco/skeleton>_`
as our project skeleton.

1.1.0

======
* More Python 3 improvements.
* Switch to pytest.

1.0.2

======
* Add Travis-CI testing.
* Only patch `os.getcwdu` on Python 2.
* Only patch `os.file` on Python 2.
* `setuptools` packaging.
* initial Python 2/3 support.
* Raise `OSError` when `os.makedirs` is used on an existing path.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.