--- test/plugins/test_flake8_lint.py.orig	2025-02-12 22:03:16
+++ test/plugins/test_flake8_lint.py	2025-02-12 22:04:50
@@ -131,7 +131,7 @@
         _name, doc = temp_document(DOC, workspace)
         flake8_lint.pylsp_lint(workspace, doc)
         (call_args,) = popen_mock.call_args[0]
-        assert "flake8" in call_args
+        assert "@@FLAKE8_BIN@@" in call_args
         assert "--config={}".format(flake8_conf) in call_args
 
 
@@ -196,7 +196,7 @@
 
     init_file = os.path.join("blah", "__init__.py")
     assert call_args == [
-        "flake8",
+        "@@FLAKE8_BIN@@",
         "-",
         "--exclude=blah/,file_2.py",
         "--stdin-display-name",
