Skip more tests for Python 2/3.5

This commit is contained in:
Dave Halter
2020-03-10 20:17:39 +01:00
parent 0aa1ef6639
commit 886dadaaff

View File

@@ -146,7 +146,8 @@ def test_search(string, full_names, kwargs, skip_pre_python36):
('test_load_save_p', ['roject'], False), ('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) project = Project(test_dir)
defs = project.complete_search(string, all_scopes=all_scopes) defs = project.complete_search(string, all_scopes=all_scopes)
assert [d.complete for d in defs] == completions assert [d.complete for d in defs] == completions