From cfa51ff14258a90cbfb66cc31e168b83500953f5 Mon Sep 17 00:00:00 2001 From: "Lumberbot (aka Jack)" <39504233+meeseeksmachine@users.noreply.github.com> Date: Mon, 7 Oct 2024 15:12:40 -0700 Subject: [PATCH] Backport PR #22575 on branch 6.x (PR: Add harmless OpenCL warning to bening errors (IPython console)) (#22645) --- spyder/plugins/ipythonconsole/widgets/client.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spyder/plugins/ipythonconsole/widgets/client.py b/spyder/plugins/ipythonconsole/widgets/client.py index 2c6ac04568f..3cf56633dbd 100644 --- a/spyder/plugins/ipythonconsole/widgets/client.py +++ b/spyder/plugins/ipythonconsole/widgets/client.py @@ -533,6 +533,9 @@ def is_benign_error(self, error): # dependency of IPykernel. # See spyder-ide/spyder#21900 "debugpy_stream undefined, debugging will not be enabled", + # Harmless warning from OpenCL on Windows. + # See spyder-ide/spyder#22551 + "The system cannot find the path specified", ] return any([err in error for err in benign_errors])