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 5558b63315
commit 51dfa73576

View File

@ -950,7 +950,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