========================================================================= FAILURES ========================================================================= _______________________________________________________________ test_syntax_error_pylint_py3 _______________________________________________________________ config = , workspace = @py3_only def test_syntax_error_pylint_py3(config, workspace): with temp_document(DOC_SYNTAX_ERR, workspace) as doc: diag = pylint_lint.pylsp_lint(config, doc, True)[0] if sys.version_info[:2] >= (3, 10): > assert diag['message'].count("[syntax-error] expected ':'") E assert 0 E + where 0 = ("[syntax-error] expected ':'") E + where = "[syntax-error] Parsing failed: 'expected ':' (, line 1)'".co unt config = diag = {'code': 'E0001', 'message': "[syntax-error] Parsing failed: 'expected ':' (, line 1)'", 'range': {'end': {'character': 12, 'line': 0}, 'start': {'character': 12, 'line': 0}}, 'severity': 1, 'source': 'pylint'} doc = workspace = test/plugins/test_pylint_lint.py:77: AssertionError