diff options
author | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2022-04-17 04:01:17 +0100 |
---|---|---|
committer | Adam Turner <9087854+AA-Turner@users.noreply.github.com> | 2022-09-27 18:31:47 +0100 |
commit | 7649eb1505dada483af9897459f699a2a106bed4 (patch) | |
tree | 7123bc37b60a0b55e34caa1314dcfc1283465f4c /tests/test_pycode.py | |
parent | 51927bb6e416aea4f30b39de28e40b53168b7fed (diff) | |
download | sphinx-git-7649eb1505dada483af9897459f699a2a106bed4.tar.gz |
Clean up after dropping Python 3.6
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' |