Skip to content

Commit

Permalink
Added own text stream buffer to correctly handle newlines
Browse files Browse the repository at this point in the history
- fixed/added tests for newline support, added real fs tests
- see #339
  • Loading branch information
mrbean-bremen committed Jan 29, 2018
1 parent b3a4a78 commit c80d0be
Show file tree
Hide file tree
Showing 6 changed files with 628 additions and 339 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ must use pyfakefs 3.3 or earlier.
* Removed Python 2.6 support [#293](../../issues/293)

#### Fixes
* Correctly handle newline parameter in `open()` for Python 3, added support for universal newline mode in Python 2 ([#339](../../issues/339))
* Creating a file with a path ending with path separator did not raise ([#320](../../issues/320))
* Fixed more problems related to `flush` ([#302](../../issues/302), [#300](../../issues/300))
* Fake `os.lstat()` crashed with several trailing path separators ([#342](../../issues/342))
Expand Down
Loading

0 comments on commit c80d0be

Please sign in to comment.