From c53231f3f18ebd2dc8e03207c801d30a4c77765a Mon Sep 17 00:00:00 2001 From: "Matthias C. M. Troffaes" Date: Thu, 24 Aug 2023 21:12:37 +0200 Subject: [PATCH] Shorter test for coverage. --- test/roots/test-citation_label_special_chars/refs.bib | 9 --------- test/test_citation.py | 1 - 2 files changed, 10 deletions(-) diff --git a/test/roots/test-citation_label_special_chars/refs.bib b/test/roots/test-citation_label_special_chars/refs.bib index 5c3eaafa..17982b49 100644 --- a/test/roots/test-citation_label_special_chars/refs.bib +++ b/test/roots/test-citation_label_special_chars/refs.bib @@ -1,12 +1,3 @@ -@book{Manning2008, - author = {Christopher D. Manning and Prabhakar Raghavan and Hinrich Sch\"utze}, - title = {Introduction to Information Retrieval}, - address = {Cambridge}, - publisher = {Cambridge University Press}, - year = {2008}, - url = {https://nlp.stanford.edu/IR-book/}, -} - @article{Serrano2009, author = {M. {\'A}ngeles Serrano and Mari{\'a}n Bogu{\~n}{\'a} and Alessandro Vespignani}, title = {Extracting the multiscale backbone of complex weighted networks}, diff --git a/test/test_citation.py b/test/test_citation.py index cd06890d..faad6762 100644 --- a/test/test_citation.py +++ b/test/test_citation.py @@ -534,5 +534,4 @@ def test_citation_label_special_chars(app, warning) -> None: app.build() assert not warning.getvalue() output = (app.outdir / "index.html").read_text(encoding="utf-8-sig") - assert len(html_citations(label="MRS08").findall(output)) == 1 assert len(html_citations(label="SBV09").findall(output)) == 1