From f991097356f1b7f127e521c16b265e7fcb24e6b6 Mon Sep 17 00:00:00 2001 From: Martyn Gigg <martyn.gigg@gmail.com> Date: Thu, 16 Aug 2018 12:08:17 +0100 Subject: [PATCH] Set unique class name for unit test QApplication --- qt/python/mantidqt/utils/qt/test/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/python/mantidqt/utils/qt/test/__init__.py b/qt/python/mantidqt/utils/qt/test/__init__.py index 19a8885cfe8..9380bdb1feb 100644 --- a/qt/python/mantidqt/utils/qt/test/__init__.py +++ b/qt/python/mantidqt/utils/qt/test/__init__.py @@ -63,7 +63,7 @@ def requires_qapp(cls): qapp = QApplication.instance() if qapp is None: setup_library_paths() - self._qapp = QApplication(['']) + cls._qapp = QApplication([cls.__name__]) else: self._qapp = qapp orig_setUp(self) -- GitLab