We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4314561 commit 0b66b99Copy full SHA for 0b66b99
1 file changed
test/plugins/test_flake8_lint.py
@@ -126,7 +126,7 @@ def test_flake8_config_param(workspace) -> None:
126
with patch("pylsp.plugins.flake8_lint.Popen") as popen_mock:
127
mock_instance = popen_mock.return_value
128
mock_instance.communicate.return_value = [b"", b""]
129
- flake8_conf = "/tmp/some.cfg"
+ flake8_conf = "C:\\some.cfg" if os.name == "nt" else "/tmp/some.cfg"
130
workspace._config.update({"plugins": {"flake8": {"config": flake8_conf}}})
131
_name, doc = temp_document(DOC, workspace)
132
flake8_lint.pylsp_lint(workspace, doc)
0 commit comments