Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flying-sheep committed Oct 12, 2024
1 parent 96f4080 commit df21210
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 7 additions & 0 deletions tests/test_extensions/test_ext_autodoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2124,6 +2124,13 @@ def test_coroutine(app):
' :module: target.coroutine',
'',
'',
' .. py:method:: AsyncClass.do_asyncgen()',
' :module: target.coroutine',
' :async:',
'',
' A documented async generator',
'',
'',
' .. py:method:: AsyncClass.do_coroutine()',
' :module: target.coroutine',
' :async:',
Expand Down
3 changes: 1 addition & 2 deletions tests/test_extensions/test_ext_autodoc_autoattribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,10 @@ def test_autoattribute_TypeVar(app):
'.. py:attribute:: Class.T1',
' :module: target.typevar',
' :canonical: target.typevar.T1',
' :value: ~T1',
'',
' T1',
'',
" alias of TypeVar('T1')",
'',
]


Expand Down

0 comments on commit df21210

Please sign in to comment.