From 98140973156bdfbef7ca63bfa8cf1d7afc95f5dc Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 29 Jul 2012 19:27:28 +0200 Subject: [PATCH] Fix test_env by supplying a dummy imgpath to the HTML builder. --- tests/test_env.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_env.py b/tests/test_env.py index e62db33bd..2f75187fb 100644 --- a/tests/test_env.py +++ b/tests/test_env.py @@ -54,6 +54,7 @@ def test_images(): tree = env.get_doctree('images') app._warning.reset() htmlbuilder = StandaloneHTMLBuilder(app) + htmlbuilder.imgpath = 'dummy' htmlbuilder.post_process_images(tree) image_uri_message = "no matching candidate for image URI u'foo.*'" if sys.version_info >= (3, 0):