https://github.com/jmcgeheeiv/pyfakefs

sort by:
Revision Author Date Message Commit Date
fa97bf3 Release 4.2.0 01 November 2020, 09:00:21 UTC
8a43f53 Improved handling of drive-like paths under Posix - if a Windows systems emulates a Posix system, it shall handle both the cases of a mapped-in real file, and a native file that has a drive-like name - this handling has been improved no lower chances of false drive detection - see #558 18 October 2020, 15:05:49 UTC
981865a Fix incorrect check for symlink in fake os.walk - proposed by @giladreti - fixes #559 17 October 2020, 17:42:37 UTC
e90bbd5 Add FakeFilesystem.os for more convenient OS setting - the setter changes all needed attributes and resets the file system - reset now also resets pathlib to adapt the path separators - adapt documentation 17 October 2020, 13:05:15 UTC
a1bcc48 Add documentation for simulating other file systems 15 October 2020, 17:51:28 UTC
67b65ef Allow fake pathlib to be used in other os - adapted fake pathlib.home() to work in other os - fixes #558 15 October 2020, 16:40:20 UTC
4fe9dc7 Moved pytest specific SKIPMODULES to Patcher - needed anyway, and makes it easier to write customized fixtures - adapted documentation for customizing patching 10 October 2020, 18:05:06 UTC
4551f02 Do not call fake pathlib.Path if called from skipped module - add possibility for special handling for skipped modules - fixes #553 09 October 2020, 18:59:23 UTC
80d1e2d Changed patch_open_code argument to accept an additional AUTO mode - possible modes are now PatchMode.OFF (default), PatchMode.ON and PatchMode.AUTO - in auto mode, open_case is patched for files existing in the fake filesystem 08 October 2020, 19:42:30 UTC
4838419 Fix missing import introduced by previous change 04 October 2020, 12:36:56 UTC
bfa1036 Added some support for io.open_code in Python 3.8 - added new argument 'patch_open_code' to allow patching the function - see #554 04 October 2020, 11:31:46 UTC
e34eab6 Fix a few resource warnings in tests 03 October 2020, 12:35:55 UTC
53a0c98 Install pyfakefs in appveyor build - for an unclear reason it stopped working without installing 03 October 2020, 12:02:59 UTC
30b1ba2 Always add linecache and tokenize to skipped modules - needed not only for pytest 03 October 2020, 10:17:04 UTC
e338d5b Do not call fake open if the caller is a skipped module - fixes #552 20 September 2020, 18:29:51 UTC
b452d04 Fixed handling of additional_skip_names with several module components 16 September 2020, 18:30:19 UTC
6f8d80a Allow to open existing pipe file descriptor - fixes #493 13 September 2020, 11:16:14 UTC
c8a0f0c Add support for buffering in text mode - support line buffering - closes #549 06 September 2020, 17:08:47 UTC
5a2d8f0 Make sure pytest will work without pyfakefs installed - import fs in conftest.py used in tests - remove tests for deprecated function - see #550 29 August 2020, 20:45:29 UTC
b390245 Fix OSError subtype raised under MacOS on os.chdir with file decscriptor 29 August 2020, 15:25:52 UTC
9f20c89 Split test scripts for error propagation - errors in earlier test scripts did not propagate 29 August 2020, 14:34:28 UTC
9500a8d Add support for the buffering parameter in open() call - support for binary files - incomplete support for text files (behave like binary files) - see #549 29 August 2020, 12:11:15 UTC
bc1f308 Do not truncate file on failed flush - fixes #548 25 August 2020, 16:27:29 UTC
651c62b More robust exception handling for exceptions in inspect functions - several inspect functions can cause side-effects that lead to exceptions - we want to ignore them all 17 August 2020, 18:19:14 UTC
7ffd478 Add support for os.truncate and os.ftruncate - fixes #545 14 August 2020, 19:44:44 UTC
9cee495 Suppress deprecation warnings while collecting modules - closes #542 09 August 2020, 08:38:31 UTC
3a359a4 Skip test_write_excel if openpyxl is not installed test_write_excel fails if pandas are installed but openpyxl is not. Adjust the condition around the case appropriately. 13 July 2020, 08:21:59 UTC
eaa6080 Prepare next release 12 July 2020, 18:02:57 UTC
e87ca96 Clarify location of fs argument for patchfs 11 July 2020, 19:22:23 UTC
14eab82 Minor documentation changes 03 July 2020, 19:57:31 UTC
f7a8f6d Merge pull request #532 from mrbean-bremen/pandas-support Added partial support for pandas to work with pyfakefs 14 June 2020, 11:12:46 UTC
073d019 Documentation changes after review - added test for writing excel file 14 June 2020, 11:10:09 UTC
4286167 Added patching of django file locks - no tests added (would be a bit complicated), has been tested in production code 13 June 2020, 18:55:43 UTC
f459e90 Fix os.expanduser to work with a bytes path - adapted documentation for pandas support - added test for pandas.read_table() 13 June 2020, 14:08:53 UTC
520914f Added partial support for pandas to work with pyfakefs - support for read_csv and read_excel (with the default module) - see #531 13 June 2020, 07:32:26 UTC
d543219 Add pandas to the list of libraries not comaptible with pyfakefs - see #528 26 May 2020, 20:00:36 UTC
8127a82 Correctly handle alternative path separators in path resolving - fixes #530 13 May 2020, 19:55:12 UTC
7b377f3 Mention Pillow as not working with pyfakefs - see #529 22 April 2020, 19:11:14 UTC
0721ad3 Make sure that all temp files are removed in real fs tests - moved file creation from __init__() to setUp() to avoid it for skipped tests - added some missing cleanup - use with assertRaises(...) in tests for better readability 05 April 2020, 18:02:35 UTC
292c07f Make sure fs modules in pathlib are patched - pathlib shall not be added to skip names - removed unneeded checks for pathlib - fixes #527 30 March 2020, 18:52:37 UTC
a47e256 Added Framework :: Pytest classifier - makes it better searchable as a pytest plugin 23 March 2020, 19:47:15 UTC
312f0f4 Refactored the patchfs decorator to not need a second decorator - provided by @AJNeufeld at Code Review 23 March 2020, 07:26:37 UTC
a12f891 Do not override global warnings setting in Deprecator - fixes #526 20 March 2020, 19:28:50 UTC
95f15b7 Moved version to separate python file - reduces dependencies of setup.py 12 March 2020, 18:19:19 UTC
df9fb40 Adedpted release notes 04 March 2020, 18:13:20 UTC
4e566e3 Do not build universal wheels - need Python 3 only - see #524 04 March 2020, 17:55:24 UTC
cd55b76 Ignore any exception that may happen in inspect.getmembers() - fixes #523 03 March 2020, 20:37:09 UTC
a51508e Adapted release notes and Readme 03 March 2020, 19:54:53 UTC
af9d5c7 Prepare next release 03 March 2020, 19:52:37 UTC
3ca0767 Added more examples for patchfs decorator - fixed error in documentation code example 02 March 2020, 18:14:53 UTC
4afa338 Changed decorator to be able to be called with and without arguments - now can be used both with call syntax, and without parentheses 29 February 2020, 20:08:00 UTC
14f9601 Added convenience decorators to patch single functions - decorator patchfs is called without arguments (and no parentheses) - decorator custom_patchfs is called with Patcher arguments 29 February 2020, 20:08:00 UTC
cdb8431 Consolidated setting of st_ino - now is always set in add_entry - st_ino was not set in fake_filesystem.makedir, what caused incorrect behavior for os.samefile for directories - fixes #515 20 February 2020, 20:10:31 UTC
34dbbf7 Fixed handling of current path in lresolve() / os.lstat() - fixes #516 19 February 2020, 20:18:44 UTC
e801c65 Fixed handling of byte paths - path entries are always saved as strings - byte paths are converted to string paths for most functions - fixes #517 18 February 2020, 20:25:26 UTC
025f06c Added automatic patching of file system function in default argument - works for module-level functions and methods in module-level classes - this also makes it unnecessary to reload the "tempfile" module 09 February 2020, 12:20:15 UTC
c4fc2c0 Preserve top directory in os.walk - simplified the previous fix - see #512 30 January 2020, 19:50:16 UTC
4e4e615 Make sure ending path separator is preserved in os.walk - fixes #512 28 January 2020, 18:15:29 UTC
14d50f6 Added workaround for O_TMPFILE flag under linux - create unique file name for memory-based file created by that flag - fixes #511 14 January 2020, 21:04:34 UTC
a900ac7 Removed more IOError-specific code 14 January 2020, 19:51:42 UTC
4c2d08b Fixed doctest in fake_filesystem 14 January 2020, 18:29:47 UTC
2fe80a7 Replaced obsolete IOError with OSError 13 January 2020, 19:25:33 UTC
5e46306 Fixed handling of empty path in os.makedirs - fixes #510 13 January 2020, 18:45:19 UTC
b1c1932 Added documentation for not matching file object MRO - also added features paragraph in introduction - see #484 12 January 2020, 19:53:04 UTC
54d52f3 Handle open with TMPFILE flag - added basic test for TemporaryFile - fixes #509 11 January 2020, 15:23:24 UTC
0848f44 Test using dockerfiles with different OSes - changed dockerfile in root back to initial state - put dockerfiles used for testing into separate directory - added dockerfiles for ubuntu, centos, debian, fedora 04 January 2020, 20:09:07 UTC
7aeb6da Added real tests for the rest of the fake open tests 02 January 2020, 20:32:16 UTC
b4d8a7c Added missing pytest pixture tests for AppVeyor 01 January 2020, 17:25:52 UTC
0814af7 Fixed typo, added link to Patcher arguments 01 January 2020, 17:13:02 UTC
11dae49 Added possibility to pass additional parameters to `fs` pytest fixture - added test and documentation 01 January 2020, 17:13:02 UTC
cb11cf5 Check Python version also for Linux builds 01 January 2020, 17:13:01 UTC
09d5017 Added pyfakefs 3.7.1 to release notes 01 January 2020, 17:13:01 UTC
90850d1 Added newly introduced compile_pattern method to flavour classes - copied original versions from _PosixFlavour/_WindowsFlavour into respective fake classes - use newest available Python version in Travis builds - see #508 01 January 2020, 17:13:00 UTC
5e7288d Correctly propagate "permission denied" error on creating directory - fixes #507 01 January 2020, 17:13:00 UTC
db9ea70 Added pytest version for add_real_directory usage example - see #506 01 January 2020, 17:12:59 UTC
8e2a4b5 Add note about accessing real files in pytest Should give pytest users a way to load test resources that does fit with the style that pytest is normally used. 01 January 2020, 17:12:58 UTC
4371d5f Minor consolidation of release notes format 01 January 2020, 17:12:58 UTC
36cc6ad Use keyword-only arguments for os functions as in real implementation - removed more obsolete comments - removed obsolete "object" superclass 01 January 2020, 17:12:48 UTC
b631d5c Allow for different configuration of access time in real fs test - tests fail under some Windows systems otherwise 24 November 2019, 18:16:18 UTC
9f62adb Removed support for Python 2.7 and 3.4 24 November 2019, 13:32:45 UTC
14b0d17 Prepare next version - removed Python 2.7 and 3.4 support from documentation 24 November 2019, 12:51:52 UTC
81d416e Added Python 3.8 to setup.py and README - added note about ending Python 2.7/3.4 support in the documentation 23 November 2019, 16:35:19 UTC
4c65784 Added support for UNC prefix in links under Windows - do not allow sendfile() to regular files under MacOs - added note about last version supporting Python 2.7 and 3.4 - see #504 22 November 2019, 20:19:04 UTC
5fe5c1b Added special handling for patching shutil under MacOs under Python 3.8 - set shutil attribute to False that allows using native posix copy function during patching - see #504 21 November 2019, 19:50:49 UTC
6bffb65 Always implement os.PathLike for DirEntry in Python >= 3.6 - added CI tests for Python 3.8 (Linux and Windows) - skip failing Windows test temporarily for Python 3.8 (test_add_existing_real_directory_symlink) - see #504 18 November 2019, 20:24:20 UTC
8b993e6 Do not test sendfile under MacOs - it does not support regular files 18 November 2019, 19:36:43 UTC
7b9c03b Added sendfile implementation (posix only) - see #504 18 November 2019, 19:05:25 UTC
8fa0675 Fixed some failing tests under Windows with Python 3.8 - added support for devnull in Windows / Python 3.8 - added preliminary support for st_file_attributes and st_reparse_tag (Windows-specific os.stat_result attributes) - consider local UNC path returned by os.readlink in tests - see #504 17 November 2019, 18:41:53 UTC
8c005b9 Clarify dereferencing comment in DynamicPatcher 17 November 2019, 17:56:43 UTC
1abb64c Unload all modules loaded during the test - these module can still hold references to fake modules - modules already loaded at test start are not affected - see #501 and #427 17 November 2019, 17:56:43 UTC
4309b65 Fixed side-effect of calling DirEntry.stat() under Windows - st_nlink of the file object was set to 0 (instead of the stat result) - fixes #502 13 November 2019, 19:37:43 UTC
bee0887 Import distutils.file_util to prevent fake fs caching problem - closes #501 13 November 2019, 18:16:14 UTC
a6b88e9 Fixed flake8 warnings - changed flake8 test to fail the build step on warnings 07 November 2019, 18:40:03 UTC
83933bf Re-enabled flake test - use build separate stage for flake8 - do not use a matrix build to make this possible 05 November 2019, 20:09:15 UTC
cd54bb3 Make separate tests from the test script - ensures that failing tests fail the build - make time test less strict to work with PyPi - fixes #500 04 November 2019, 19:33:19 UTC
2ae7616 Skip scandir tests for dir_fd for scandir package - scandir package does not support this - fixes #499 04 November 2019, 17:39:06 UTC
06c08b6 Fixed handling of missing directory read access - enable for Linux, disable for root users - see #496 03 November 2019, 20:02:38 UTC
4f237ea Propagate exception for non-existing path in os.scandir() - fixes #498 01 November 2019, 19:25:39 UTC
947e83f Allow stat in unreadable directory 19 October 2019, 11:08:37 UTC
26b4c73 Added handling of missing directory read access under MacOS - changes are for MacOS only, as long as Linux behavior is unclear - see #496 18 October 2019, 20:30:03 UTC
back to top