--- test/plugins/test_flake8_lint.py.orig	2025-08-26 12:34:02
+++ test/plugins/test_flake8_lint.py	2025-10-14 10:49:25
@@ -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 f"--config={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",
