Skip to content

Commit

Permalink
Upadate docs tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Dec 13, 2024
1 parent a9c5bf2 commit 6784e4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 6784e4c

Please sign in to comment.