Skip to content

Commit

Permalink
Add release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
sassanh committed Aug 15, 2024
1 parent 2e8fcfb commit d8a1a35
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ The released versions correspond to PyPI releases.
* the default for `FakeFilesystem.shuffle_listdir_results` will change to `True` to reflect
the real filesystem behavior

## Unreleased

### Enhancements

- refactor the implementation of `additional_skip_names` parameter to make it work with more modules (see [#1023](../../issues/1023))

## [Version 5.6.0](https://pypi.python.org/pypi/pyfakefs/5.6.0) (2024-07-12)
Adds preliminary Python 3.13 support.

Expand Down
3 changes: 1 addition & 2 deletions pyfakefs/fake_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,8 @@ def __getattribute__(self, name):
fs: FakeFilesystem = object.__getattribute__(self, "filesystem")
fnctl_module = object.__getattribute__(self, "_fcntl_module")
if fs.patcher:
skip_names = fs.patcher.skip_names
if is_called_from_skipped_module(
skip_names=skip_names,
skip_names=fs.patcher.skip_names,
case_sensitive=fs.is_case_sensitive,
):
# remove the `self` argument for FakeOsModule methods
Expand Down

0 comments on commit d8a1a35

Please sign in to comment.