From 886dadaaff81f69a64d434bebc74c6ea1110aa8d Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Tue, 10 Mar 2020 20:17:39 +0100 Subject: [PATCH] Skip more tests for Python 2/3.5 --- test/test_api/test_project.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_api/test_project.py b/test/test_api/test_project.py index 72887853..a7d4846e 100644 --- a/test/test_api/test_project.py +++ b/test/test_api/test_project.py @@ -146,7 +146,8 @@ def test_search(string, full_names, kwargs, skip_pre_python36): ('test_load_save_p', ['roject'], False), ] ) -def test_complete_search(Script, string, completions, all_scopes): +@pytest.mark.skipif(sys.version_info < (3, 6), reason="Ignore Python 2, because EOL") +def test_complete_search(Script, string, completions, all_scopes, skip_pre_python36): project = Project(test_dir) defs = project.complete_search(string, all_scopes=all_scopes) assert [d.complete for d in defs] == completions