Skip to content

1.2.4: minor test failures #109

@0-wiz-0

Description

@0-wiz-0

I've just packaged python-lsp-server for pkgsrc. Running the self tests, I see a couple "failed" tests:

FAILED test/plugins/test_flake8_lint.py::test_flake8_unsaved - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_flake8_lint.py::test_flake8_lint - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_flake8_lint.py::test_flake8_per_file_ignores - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_pylint_lint.py::test_pylint - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_pylint_lint.py::test_syntax_error_pylint_py3 - FileNotFoundError: [Errno 2] No such file or directory: 'python'
FAILED test/plugins/test_pylint_lint.py::test_lint_free_pylint - AssertionError: assert not [{'code': 'W1514', 'message': '[unspecified-encoding] Using open without explicitly s...
FAILED test/plugins/test_pylint_lint.py::test_per_file_caching - AssertionError: assert not [{'code': 'W1514', 'message': '[unspecified-encoding] Using open without explicitly s...

The first five of these assume a "python" binary, which pkgsrc does not provide by default.
I'm not sure about the last two.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions