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 | aedbdd953d4ea4129273294316c23780cda9cb3b (patch) | |
tree | 5044c2146ca4b1756136040d0b4365685b0c4f84 /tests/test_env.py | |
parent | b068e9180365a5d74d4fb02b003d7a05f99ffac3 (diff) | |
download | sphinx-git-aedbdd953d4ea4129273294316c23780cda9cb3b.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 685311e66..32d87ebf3 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']) |