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 70a6f030e..bdd7073d1 100644
--- a/tests/test_quickstart.py
+++ b/tests/test_quickstart.py
@@ -193,7 +193,7 @@ def test_generated_files_eol(tempdir):
qs.generate(d)
def assert_eol(filename, eol):
- content = filename.bytes().decode()
+ content = filename.read_bytes().decode()
assert all([l[-len(eol):] == eol for l in content.splitlines(True)])
assert_eol(tempdir / 'make.bat', '\r\n')