Skip to content
Snippets Groups Projects
Unverified Commit a87962c2 authored by WHITFIELDRE email's avatar WHITFIELDRE email Committed by GitHub
Browse files

Merge pull request #23997 from mganeva/23956_py37_workbench

Re #23956 Rename async to asynchronous
parents 060088e3 ea02496c
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ import unittest
# 3rdparty imports
# local imports
from mantidqt.utils.async import AsyncTask, blocking_async_task
from mantidqt.utils.asynchronous import AsyncTask, blocking_async_task
class AsyncTaskTest(unittest.TestCase):
......@@ -105,7 +105,7 @@ class AsyncTaskTest(unittest.TestCase):
self.assertTrue(isinstance(recv.task_exc, RuntimeError),
msg="Expected RuntimeError, found " + recv.task_exc.__class__.__name__)
self.assertEqual(2, len(recv.task_exc_stack))
# line number of self.target in async.py
# line number of self.target in asynchronous.py
self.assertEqual(93, recv.task_exc_stack[0][1])
# line number of raise statement above
self.assertEqual(94, recv.task_exc_stack[1][1])
......
......@@ -20,7 +20,7 @@ from six import PY2, iteritems
# local imports
from mantidqt.widgets.codeeditor.inputsplitter import InputSplitter
from mantidqt.utils.async import AsyncTask
from mantidqt.utils.asynchronous import AsyncTask
if PY2:
from inspect import getargspec as getfullargspec
......
......@@ -26,7 +26,7 @@ except ImportError:
from IPython.qt.inprocess import QtInProcessKernelManager
# local imports
from mantidqt.utils.async import blocking_async_task
from mantidqt.utils.asynchronous import blocking_async_task
class InProcessJupyterConsole(RichJupyterWidget):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment