From 6784e4cb88ae3c39363be8672883b5aa12ac51d2 Mon Sep 17 00:00:00 2001 From: tristanlatr <tristanlatr@users.noreply.github.com> Date: Fri, 13 Dec 2024 13:49:42 -0500 Subject: [PATCH] Upadate docs tests --- docs/tests/test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tests/test.py b/docs/tests/test.py index 0b957c1e0..d15bd4fe8 100644 --- a/docs/tests/test.py +++ b/docs/tests/test.py @@ -197,7 +197,8 @@ def test_search(query:str, expected:List[str], order_is_important:bool=True) -> 'pydoctor.epydoc.markup.plaintext.ParsedPlaintextDocstring.to_stan', 'pydoctor.epydoc.markup._types.ParsedTypeDocstring.to_stan', 'pydoctor.epydoc.markup._pyval_repr.ColorizedPyvalRepr.to_stan', - 'pydoctor.epydoc2stan.ParsedStanOnly.to_stan', + 'pydoctor.epydoc.markup._ParsedDocstringTree.to_stan', + 'pydoctor.epydoc.markup._ParsedDocstringWithTag.to_stan', ] test_search('to_stan*', to_stan_results, order_is_important=False) test_search('to_stan', to_stan_results, order_is_important=False) @@ -250,8 +251,7 @@ def test_missing_subclasses(): infos = ('pydoctor.epydoc.markup._types.ParsedTypeDocstring', 'pydoctor.epydoc.markup.epytext.ParsedEpytextDocstring', 'pydoctor.epydoc.markup.plaintext.ParsedPlaintextDocstring', - 'pydoctor.epydoc.markup.restructuredtext.ParsedRstDocstring', - 'pydoctor.epydoc2stan.ParsedStanOnly', ) + 'pydoctor.epydoc.markup.restructuredtext.ParsedRstDocstring', ) with open(BASE_DIR / 'api' / 'pydoctor.epydoc.markup.ParsedDocstring.html', 'r', encoding='utf-8') as stream: page = stream.read()