diff options
Diffstat (limited to 'tests/test_build_html.py')
-rw-r--r-- | tests/test_build_html.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_build_html.py b/tests/test_build_html.py index fa0bbac7c..dee65613f 100644 --- a/tests/test_build_html.py +++ b/tests/test_build_html.py @@ -105,9 +105,9 @@ def check_xpath(etree, fname, path, check, be_found=True): if all(not rex.search(get_text(node)) for node in nodes): return - raise AssertionError(('%r not found in any node matching ' - 'path %s in %s: %r' % (check, path, fname, - [node.text for node in nodes]))) + raise AssertionError('%r not found in any node matching ' + 'path %s in %s: %r' % (check, path, fname, + [node.text for node in nodes])) @pytest.mark.sphinx('html', testroot='warnings') |