mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge branch '1.8'
This commit is contained in:
@@ -218,7 +218,7 @@ def test_generated_files_eol(tempdir):
|
||||
qs.generate(d)
|
||||
|
||||
def assert_eol(filename, eol):
|
||||
content = filename.bytes().decode('unicode-escape')
|
||||
content = filename.bytes().decode()
|
||||
assert all([l[-len(eol):] == eol for l in content.splitlines(True)])
|
||||
|
||||
assert_eol(tempdir / 'make.bat', '\r\n')
|
||||
|
||||
Reference in New Issue
Block a user