Skip to content

Commit

Permalink
fix test_reference
Browse files Browse the repository at this point in the history
  • Loading branch information
drammock committed May 28, 2022
1 parent 8e98b87 commit 84d8512
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion numpydoc/tests/test_full.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_reference(sphinx_app, html_file, expected_length):
with open(op.join(out_dir, *html_file)) as fid:
html = fid.read()

reference_list = re.findall(r'<a class="fn-backref" href="\#id\d+">(.*)<\/a>', html)
reference_list = re.findall(r'<a role="doc-backlink" href="\#id\d+">(.*)<\/a>', html)

assert len(reference_list) == expected_length
for ref in reference_list:
Expand Down

0 comments on commit 84d8512

Please sign in to comment.