summaryrefslogtreecommitdiff
path: root/tests/test_quickstart.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-03-05 12:54:01 +0000
committerAdam Turner <9087854+aa-turner@users.noreply.github.com>2023-03-05 12:54:24 +0000
commit18f8c0bfc8fcb2121bc3670baca670211fe77966 (patch)
tree92bffb9f6275455fb701adf75e64664adaf465a5 /tests/test_quickstart.py
parentba080286b06cb9e0cadec59a6cf1f96aa11aef5a (diff)
downloadsphinx-git-18f8c0bfc8fcb2121bc3670baca670211fe77966.tar.gz
Resolve lint errors from Ruff 0.0.254
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')