diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index 4025beaa9..5505891b2 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -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