Files
macports-ports/python/py-language-server/files/patch-test_plugins_flake8_lint.py.diff
2020-07-10 18:34:31 -04:00

12 lines
469 B
Diff

--- test/plugins/test_flake8_lint.py.orig 2020-07-10 18:32:20.000000000 -0400
+++ test/plugins/test_flake8_lint.py 2020-07-10 18:33:43.000000000 -0400
@@ -67,7 +67,7 @@
_name, doc = temp_document(DOC, workspace)
flake8_lint.pyls_lint(workspace, doc)
call_args = popen_mock.call_args.args[0]
- assert 'flake8' in call_args
+ assert '@@FLAKE8_BIN@@' in call_args
assert '--config={}'.format(flake8_conf) in call_args