Fix #4543: test for autodoc fails with python 3.5.3

This commit is contained in:
Takeshi KOMIYA 2018-02-05 14:38:35 +09:00
parent 70a622b86c
commit f2a23b761e

View File

@ -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