diff --git a/tests/test_build.py b/tests/test_build.py index 1e36b12d3..e4d29319f 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -122,7 +122,7 @@ HTML_XPATH = { ".//dl/dt[@id='term-boson']": 'boson', # a production list ".//pre/strong": 'try_stmt', - ".//pre/a[@href='grammar-token-try1_stmt']/tt/span": 'try1_stmt', + ".//pre/a[@href='#grammar-token-try1_stmt']/tt/span": 'try1_stmt', # tests for ``only`` directive ".//p": 'A global substitution.', ".//p": 'In HTML.',