summaryrefslogtreecommitdiff
path: root/tests/test_ext_inheritance_diagram.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ext_inheritance_diagram.py')
-rw-r--r--tests/test_ext_inheritance_diagram.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_ext_inheritance_diagram.py b/tests/test_ext_inheritance_diagram.py
index 249a7e035..5c4e5b673 100644
--- a/tests/test_ext_inheritance_diagram.py
+++ b/tests/test_ext_inheritance_diagram.py
@@ -24,7 +24,7 @@ def test_inheritance_diagram_html(app, status, warning):
content = (app.outdir / 'index.html').text()
pattern = ('<div class="figure" id="id1">\n'
- '<img src="_images/inheritance-\w+.png" alt="Inheritance diagram of test.Foo" '
+ '<img src="_images/inheritance-\\w+.png" alt="Inheritance diagram of test.Foo" '
'class="inheritance"/>\n<p class="caption"><span class="caption-text">'
'Test Foo!</span><a class="headerlink" href="#id1" '
'title="Permalink to this image">\xb6</a></p>')