Skip to content
Permalink
Browse files

Fixed incorrect argument names for some os functions

- added support for src_dir_fd and dst_dir_fd arguments
  in os.rename, os.replace and os.link
  • Loading branch information...
mrbean-bremen committed Jun 7, 2019
1 parent 09d693e commit 99f7a66ea7006e937d30f6887474809993c84369
Showing with 187 additions and 139 deletions.
  1. +3 −0 CHANGES.md
  2. +145 −133 pyfakefs/fake_filesystem.py
  3. +39 −6 pyfakefs/tests/fake_os_test.py
@@ -7,6 +7,8 @@ The release versions are PyPi releases.
* removed unneeded parameter `use_dynamic_patch`

#### New Features
* support for `src_dir_fd` and `dst_dir_fd` arguments in `os.rename`,
`os.replace` and `os.link`
* added possibility to use modules instead of module names for the
`additional_skip_names` argument (see [#482](../../issues/482))
* added argument `allow_root_user` to `Patcher` and `UnitTest` to allow
@@ -18,6 +20,7 @@ The release versions are PyPi releases.
(see [#487](../../issues/487))

#### Fixes
* fixed incorrect argument names for some `os` functions
* fake `DirEntry` now implements `os.PathLike` in Python >= 3.6
(see [#483](../../issues/483))
* fixed incorrect argument name for `os.makedirs`

0 comments on commit 99f7a66

Please sign in to comment.
You can’t perform that action at this time.