From 733d872917cca793477d150742f5294ee08d1dbc Mon Sep 17 00:00:00 2001 From: Martyn Gigg <martyn.gigg@gmail.com> Date: Fri, 5 Jan 2018 10:30:55 +0000 Subject: [PATCH] Fix spelling mistake Jupyer->Jupyter Refs #21251 --- qt/applications/workbench/workbench/app/mainwindow.py | 4 ++-- .../workbench/workbench/plugins/jupyterconsole.py | 4 ++-- .../workbench/workbench/plugins/test/test_jupyterconsole.py | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/qt/applications/workbench/workbench/app/mainwindow.py b/qt/applications/workbench/workbench/app/mainwindow.py index 10b6dbe6d5c..a92d7b47172 100644 --- a/qt/applications/workbench/workbench/app/mainwindow.py +++ b/qt/applications/workbench/workbench/app/mainwindow.py @@ -143,8 +143,8 @@ class MainWindow(QMainWindow): self.messagedisplay.register_plugin() self.set_splash("Loading IPython console") - from workbench.plugins.jupyterconsole import JupyerConsole - self.ipythonconsole = JupyerConsole(self) + from workbench.plugins.jupyterconsole import JupyterConsole + self.ipythonconsole = JupyterConsole(self) self.ipythonconsole.register_plugin() self.setup_layout() diff --git a/qt/applications/workbench/workbench/plugins/jupyterconsole.py b/qt/applications/workbench/workbench/plugins/jupyterconsole.py index 06b2e3bcc3c..fa4a448c63c 100644 --- a/qt/applications/workbench/workbench/plugins/jupyterconsole.py +++ b/qt/applications/workbench/workbench/plugins/jupyterconsole.py @@ -26,11 +26,11 @@ from qtpy.QtWidgets import QVBoxLayout from workbench.plugins.base import PluginWidget -class JupyerConsole(PluginWidget): +class JupyterConsole(PluginWidget): """Provides an in-process Jupyter Qt-based console""" def __init__(self, parent): - super(JupyerConsole, self).__init__(parent) + super(JupyterConsole, self).__init__(parent) # layout self.console = InProcessJupyterConsole(self) diff --git a/qt/applications/workbench/workbench/plugins/test/test_jupyterconsole.py b/qt/applications/workbench/workbench/plugins/test/test_jupyterconsole.py index fe6b791cdb7..f1ae661e90d 100644 --- a/qt/applications/workbench/workbench/plugins/test/test_jupyterconsole.py +++ b/qt/applications/workbench/workbench/plugins/test/test_jupyterconsole.py @@ -24,15 +24,15 @@ from mantidqt.utils.qt.testing import requires_qapp from qtpy.QtWidgets import QMainWindow # local package imports -from workbench.plugins.jupyterconsole import InProcessJupyterConsole, JupyerConsole +from workbench.plugins.jupyterconsole import InProcessJupyterConsole, JupyterConsole @requires_qapp -class InProcessJupyterConsoleTest(unittest.TestCase): +class JupyterConsoleTest(unittest.TestCase): def test_construction_creates_inprocess_console_widget(self): main_window = QMainWindow() - widget = JupyerConsole(main_window) + widget = JupyterConsole(main_window) self.assertTrue(hasattr(widget, "console")) self.assertTrue(isinstance(widget.console, InProcessJupyterConsole)) -- GitLab