summaryrefslogtreecommitdiff
path: root/tests/test_quickstart.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_quickstart.py')
-rw-r--r--tests/test_quickstart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_quickstart.py b/tests/test_quickstart.py
index fd9ab4277..bba97f5e3 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -185,7 +185,7 @@ def test_generated_files_eol(tempdir):
def assert_eol(filename, eol):
content = filename.read_bytes().decode()
- assert all([l[-len(eol):] == eol for l in content.splitlines(True)])
+ assert all(l[-len(eol):] == eol for l in content.splitlines(keepends=True))
assert_eol(tempdir / 'make.bat', '\r\n')
assert_eol(tempdir / 'Makefile', '\n')