Files
pytest2/changelog/6566.bugfix.rst
T
Daniel Hahler 039d582b52 Fix EncodedFile.writelines
This is implemented by the underlying stream already, which additionally
checks if the stream is not closed, and calls `write` per line.

Ref/via: https://github.com/pytest-dev/pytest/pull/6558#issuecomment-578210807
2020-01-25 18:06:50 +01:00

2 lines
86 B
ReStructuredText

Fix ``EncodedFile.writelines`` to call the underlying buffer's ``writelines`` method.