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
70a622b86c
commit
f2a23b761e
@ -949,7 +949,7 @@ def test_partialmethod():
|
||||
' 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')
|
||||
|
||||
assert call_autodoc('class', 'target.partialmethod.Cell') == expected
|
||||
|
Loading…
Reference in New Issue
Block a user