Making it possible for static analysis tests to be skipped if the python version doesn't match.
This commit is contained in:
1 parent
515d096d33
commit
6bad5a924b
4 files changed
+32
-11
No files matched your search
@@ -40,7 +40,10 @@ def test_completion(case, monkeypatch):
|
||||
|
||||
|
||||
def test_static_analysis(static_analysis_case):
|
||||
static_analysis_case.run(assert_static_analysis)
|
||||
if static_analysis_case.skip is not None:
|
||||
pytest.skip(static_analysis_case.skip)
|
||||
else:
|
||||
static_analysis_case.run(assert_static_analysis)
|
||||
|
||||
|
||||
def test_refactor(refactor_case):
|
||||
|
||||
Reference in new issue
Block a user