Skip to content

Commit

Permalink
Backport PR #22575 on branch 6.x (PR: Add harmless OpenCL warning to …
Browse files Browse the repository at this point in the history
…bening errors (IPython console)) (#22645)
  • Loading branch information
meeseeksmachine authored Oct 7, 2024
1 parent 01e2c14 commit cfa51ff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spyder/plugins/ipythonconsole/widgets/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit cfa51ff

Please sign in to comment.