mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix incompatibility in doctree between gettext and the rest
This commit is contained in:
parent
b637f0a728
commit
70cf797c10
@ -20,7 +20,7 @@ from nose.tools import assert_true, assert_in, assert_equal
|
||||
from util import with_app, gen_with_app, SkipTest
|
||||
|
||||
|
||||
@gen_with_app('gettext')
|
||||
@gen_with_app('gettext', srcdir='root-gettext')
|
||||
def test_all(app, status, warning):
|
||||
# Generic build; should fail only when the builder is horribly broken.
|
||||
app.builder.build_all()
|
||||
|
@ -24,7 +24,7 @@ warnings = []
|
||||
|
||||
def setup_module():
|
||||
global app, env
|
||||
app = TestApp(srcdir='env-test')
|
||||
app = TestApp(srcdir='root-envtest')
|
||||
env = app.env
|
||||
env.set_warnfunc(lambda *args: warnings.append(args))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user