mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix #4543: test for autodoc fails with python 3.5.3
This commit is contained in:
parent
5558b63315
commit
51dfa73576
@ -950,7 +950,7 @@ def test_partialmethod():
|
|||||||
' Update state of cell to *state*.',
|
' Update state of cell to *state*.',
|
||||||
' ',
|
' ',
|
||||||
]
|
]
|
||||||
if sys.version_info < (3, 5):
|
if sys.version_info < (3, 5, 4):
|
||||||
expected = '\n'.join(expected).replace(' -> None', '').split('\n')
|
expected = '\n'.join(expected).replace(' -> None', '').split('\n')
|
||||||
|
|
||||||
assert call_autodoc('class', 'target.partialmethod.Cell') == expected
|
assert call_autodoc('class', 'target.partialmethod.Cell') == expected
|
||||||
|
Loading…
Reference in New Issue
Block a user