Skip to content

Commit

Permalink
Merge pull request #19836 from dalthviz/fixes_issue_19298
Browse files Browse the repository at this point in the history
PR: Add benign error 'The following argument was not expected' (IPython Console)
  • Loading branch information
ccordoba12 committed Oct 15, 2022
2 parents a77bdb3 + 0fa6fa1 commit 223d3a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spyder/plugins/ipythonconsole/widgets/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,9 @@ def is_benign_error(self, error):
"No such comm",
# PYDEVD debug warning message. See spyder-ide/spyder#18908
"Note: Debugging will proceed. "
"Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation."
"Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.",
# Argument not expected error. See spyder-ide/spyder#19298
"The following argument was not expected"
]

return any([err in error for err in benign_errors])
Expand Down

0 comments on commit 223d3a6

Please sign in to comment.