mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
stop calling rmtree in a test
This commit is contained in:
parent
ba50c00a0e
commit
023a53c609
@ -212,7 +212,6 @@ def test_i18n_literalblock_warning(app):
|
|||||||
confoverrides={'language': 'xx', 'locale_dirs': ['.'],
|
confoverrides={'language': 'xx', 'locale_dirs': ['.'],
|
||||||
'gettext_compact': False})
|
'gettext_compact': False})
|
||||||
def test_seealso(app):
|
def test_seealso(app):
|
||||||
app.builddir.rmtree(True)
|
|
||||||
app.builder.build(['i18n/seealso'])
|
app.builder.build(['i18n/seealso'])
|
||||||
result = (app.outdir / 'i18n' / 'seealso.txt').text(encoding='utf-8')
|
result = (app.outdir / 'i18n' / 'seealso.txt').text(encoding='utf-8')
|
||||||
expect = (u"\nI18N WITH SEEALSO"
|
expect = (u"\nI18N WITH SEEALSO"
|
||||||
|
Loading…
Reference in New Issue
Block a user