Skip to content

Commit

Permalink
Merge pull request #21323 from impact27/fix_tests
Browse files Browse the repository at this point in the history
PR: Fix some failing tests
  • Loading branch information
ccordoba12 authored Sep 11, 2023
2 parents 106cc5f + e6b303b commit dbe7eed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions external-deps/spyder-kernels/.gitrepo

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion spyder/plugins/editor/widgets/editorstack/editorstack.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ class EditorStack(QWidget, SpyderConfigurationAccessor):
See Also
--------
:py:meth:spyder.plugins.editor.widgets.editor.EditorStack.send_to_help
:py:meth:spyder.plugins.editor.widgets.editorstack.EditorStack.send_to_help
"""

def __init__(self, parent, actions, use_switcher=True):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,10 @@ def visible_editor_bot(editor_bot, mocker):

# We need to patch osp.isfile to avoid the 'this file does not exist'
# message box.
mocker.patch('spyder.plugins.editor.widgets.editor.osp.isfile',
returned_value=True)
mocker.patch(
'spyder.plugins.editor.widgets.editorstack.editorstack.osp.isfile',
returned_value=True
)

editorstack.show()

Expand Down

0 comments on commit dbe7eed

Please sign in to comment.