diff --git a/test/plugins/test_folding.py b/test/plugins/test_folding.py index 57d6e2e..cef4583 100644 --- a/test/plugins/test_folding.py +++ b/test/plugins/test_folding.py @@ -147,9 +147,6 @@ def test_folding(workspace): {'startLine': 62, 'endLine': 63}, {'startLine': 64, 'endLine': 65}, {'startLine': 67, 'endLine': 68}] - if sys.version_info[:2] >= (3, 9): - # the argument list of the decorator is also folded in Python >= 3.9 - expected.insert(4, {'startLine': 9, 'endLine': 10}) assert ranges == expected