Skip to content

Commit

Permalink
Testing: Skip print statement to not make our tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
ccordoba12 committed Nov 15, 2017
1 parent 24bd4c4 commit afeb581
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion spyder/utils/ipython/spyder_kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,4 +462,5 @@ def _set_mpl_backend(self, backend, pylab=False):
def _show_mpl_backend_errors(self):
"""Show Matplotlib backend errors after the prompt is ready."""
if self._mpl_backend_error is not None:
print(self._mpl_backend_error)
print(self._mpl_backend_error) # spyder: test-skip

2 changes: 1 addition & 1 deletion spyder/widgets/ipythonconsole/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,4 +542,4 @@ def _show_mpl_backend_errors(self):
self.shellwidget.silent_execute(
"get_ipython().kernel._show_mpl_backend_errors()")
self.shellwidget.sig_prompt_ready.disconnect(
self._show_mpl_backend_errors)
self._show_mpl_backend_errors)

0 comments on commit afeb581

Please sign in to comment.