- Update to version 3.5
* This version of pyfakefs does not support Python 3.3.
* The deprecation warnings for the old API are now switched on by default.
* Improved automatic patching:
* added possibility to set user ID
* added side_effect option to fake files
* added some support for extended filesystem attributes under Linux
* handle `contents=None` in `create_file()` as empty contents if size not set
* added pathlib2 support
* added support for null device
* improved error message for "Bad file descriptor in fake filesystem"
* fixed pytest when both pyfakefs and future are installed
* file timestamps are now updated more according to the real behavior
* fixed a problem related with patching shutil functions using zipfile
OBS-URL: https://build.opensuse.org/request/show/643884
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=5
- Update to version 3.4.3
- Added support for path-like objects as arguments in create_file(),
create_dir(), create_symlink(), add_real_file() and add_real_directory()
- Bugfixes:
- tell after seek gave incorrect result in append mode
- flushing file contents after truncate was incorrect under some conditions
- readline() did not work correctly in binary mode
- pathlib.Path.resolve() behaved incorrectly if the path does not exist
- closed attribute was not implemented in fake file
- add_real_directory did not behave correctly for nested paths
- several functions did not behave correctly for paths ending with a
path separator
OBS-URL: https://build.opensuse.org/request/show/616707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyfakefs?expand=0&rev=3