diff options
| author | Georg Brandl <georg@python.org> | 2009-01-10 22:18:18 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2009-01-10 22:18:18 +0100 |
| commit | 6d564844e830c1faaf746460327bd14f3234171e (patch) | |
| tree | 5044c2146ca4b1756136040d0b4365685b0c4f84 /tests/test_env.py | |
| parent | ac92e5497ec6704b661ca3e7539ce2799fda2ef4 (diff) | |
| download | sphinx-6d564844e830c1faaf746460327bd14f3234171e.tar.gz | |
Fix more line length and trailing whitespace.
Diffstat (limited to 'tests/test_env.py')
| -rw-r--r-- | tests/test_env.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/test_env.py b/tests/test_env.py index 685311e6..32d87ebf 100644 --- a/tests/test_env.py +++ b/tests/test_env.py @@ -54,7 +54,8 @@ def test_images(): app._warning.reset() htmlbuilder = StandaloneHTMLBuilder(app, env) htmlbuilder.post_process_images(tree) - assert "no matching candidate for image URI u'foo.*'" in app._warning.content[-1] + assert "no matching candidate for image URI u'foo.*'" in \ + app._warning.content[-1] assert set(htmlbuilder.images.keys()) == set(['subdir/img.png', 'img.png', 'subdir/simg.png']) assert set(htmlbuilder.images.values()) == set(['img.png', 'img1.png', @@ -63,8 +64,10 @@ def test_images(): app._warning.reset() latexbuilder = LaTeXBuilder(app, env) latexbuilder.post_process_images(tree) - assert "no matching candidate for image URI u'foo.*'" in app._warning.content[-1] - assert set(latexbuilder.images.keys()) == set(['subdir/img.png', 'subdir/simg.png', + assert "no matching candidate for image URI u'foo.*'" in \ + app._warning.content[-1] + assert set(latexbuilder.images.keys()) == set(['subdir/img.png', + 'subdir/simg.png', 'img.png', 'img.pdf']) assert set(latexbuilder.images.values()) == set(['img.pdf', 'img.png', 'img1.png', 'simg.png']) |
