mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix test which was broken to change in the path object api
This commit is contained in:
parent
45285b6785
commit
817a7bb2c8
@ -78,7 +78,7 @@ def test_all(app):
|
|||||||
confoverrides={'language': 'xx', 'locale_dirs': ['.']})
|
confoverrides={'language': 'xx', 'locale_dirs': ['.']})
|
||||||
def test_patch(app):
|
def test_patch(app):
|
||||||
app.builder.build(['bom'])
|
app.builder.build(['bom'])
|
||||||
result = (app.outdir / 'bom.txt').text('utf-8')
|
result = (app.outdir / 'bom.txt').text(encoding='utf-8')
|
||||||
expect = (u"\nDatei mit UTF-8"
|
expect = (u"\nDatei mit UTF-8"
|
||||||
u"\n***************\n" # underline matches new translation
|
u"\n***************\n" # underline matches new translation
|
||||||
u"\nThis file has umlauts: äöü.\n")
|
u"\nThis file has umlauts: äöü.\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user