diff options
| author | Georg Brandl <georg@python.org> | 2009-06-04 18:47:43 +0200 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-06-04 18:47:43 +0200 |
| commit | 288af885c24e16f0f98293b90b2441092fb33cd8 (patch) | |
| tree | 22bf3d22fba19dbdd1f3ee637836280510542b74 /tests/test_build.py | |
| parent | fb0791bdfc37ca9e8ebf5c4bfbbc394f48d921a4 (diff) | |
| parent | be49adef8c8bf52c3a2db406e6aa954063f1c877 (diff) | |
| download | sphinx-git-288af885c24e16f0f98293b90b2441092fb33cd8.tar.gz | |
merge with 0.6
Diffstat (limited to 'tests/test_build.py')
| -rw-r--r-- | tests/test_build.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index d81e496eb..6668e2453 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -43,7 +43,7 @@ ENV_WARNINGS = """\ http://www.python.org/logo.png %(root)s/includes.txt:: (WARNING/2) Encoding 'utf-8-sig' used for reading \ included file u'wrongenc.inc' seems to be wrong, try giving an :encoding: option -%(root)s/includes.txt:60: WARNING: download file not readable: nonexisting.png +%(root)s/includes.txt:4: WARNING: download file not readable: nonexisting.png """ HTML_WARNINGS = ENV_WARNINGS + """\ @@ -136,6 +136,8 @@ if pygments: ur'^foo = u"Including Unicode characters: üöä"\n$', ".//div[@class='inc-preappend highlight-text']/div/pre": r'(?m)^START CODE$', + ".//div[@class='inc-pyobj-dedent highlight-python']/div/pre/span": + r'def', }) HTML_XPATH['subdir/includes.html'].update({ ".//pre/span": 'line 1', |
