diff options
author | Georg Brandl <georg@python.org> | 2011-09-23 09:46:24 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-09-23 09:46:24 +0200 |
commit | 6639612d9c5d7919bebce9790a2e3fbbfb6d3414 (patch) | |
tree | f139be5f44c251ed99b0d2a43afbd047d8d8f279 /tests/test_build_html.py | |
parent | 600b915d287a12ffdd68a29e15f9f10ff9461a67 (diff) | |
download | sphinx-6639612d9c5d7919bebce9790a2e3fbbfb6d3414.tar.gz |
Fix #648: Fix line numbers reported in warnings about undefined references.
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r-- | tests/test_build_html.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py index 638dc4af..93aa41d4 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -32,12 +32,12 @@ html_warnfile = StringIO() ENV_WARNINGS = """\ %(root)s/autodoc_fodder.py:docstring of autodoc_fodder\\.MarkupError:2: \ -\\(WARNING/2\\) Explicit markup ends without a blank line; unexpected \ +WARNING: Explicit markup ends without a blank line; unexpected \ unindent\\.\\n? %(root)s/images.txt:9: WARNING: image file not readable: foo.png %(root)s/images.txt:23: WARNING: nonlocal image URI found: \ http://www.python.org/logo.png -%(root)s/includes.txt:\\d*: \\(WARNING/2\\) Encoding 'utf-8-sig' used for \ +%(root)s/includes.txt:\\d*: WARNING: Encoding 'utf-8-sig' used for \ reading included file u'.*?wrongenc.inc' seems to be wrong, try giving an \ :encoding: option\\n? %(root)s/includes.txt:4: WARNING: download file not readable: nonexisting.png |