summaryrefslogtreecommitdiff
path: root/tests/test_pycode.py
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-04-17 04:01:17 +0100
committerAdam Turner <9087854+AA-Turner@users.noreply.github.com>2022-09-27 18:31:47 +0100
commit7649eb1505dada483af9897459f699a2a106bed4 (patch)
tree7123bc37b60a0b55e34caa1314dcfc1283465f4c /tests/test_pycode.py
parent51927bb6e416aea4f30b39de28e40b53168b7fed (diff)
downloadsphinx-git-7649eb1505dada483af9897459f699a2a106bed4.tar.gz
Clean up after dropping Python 3.6
Diffstat (limited to 'tests/test_pycode.py')
-rw-r--r--tests/test_pycode.py2
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'