diff options
Diffstat (limited to 'tests/test_pycode.py')
-rw-r--r-- | tests/test_pycode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pycode.py b/tests/test_pycode.py index 1f9882eb9..cc3966b8d 100644 --- a/tests/test_pycode.py +++ b/tests/test_pycode.py @@ -185,7 +185,7 @@ def test_ModuleAnalyzer_find_attr_docs(): 'Qux.attr2': 17} -@pytest.mark.skipif(sys.version_info < (3, 8), +@pytest.mark.skipif(sys.version_info[:2] <= (3, 7), reason='posonlyargs are available since python3.8.') def test_ModuleAnalyzer_find_attr_docs_for_posonlyargs_method(): code = ('class Foo(object):\n' |