Changeset 3e8dee3 in sasview for src/sas/qtgui/Plotting/UnitTesting/SlicerModelTest.py
- Timestamp:
- Nov 8, 2017 7:22:45 AM (6 years ago)
- Branches:
- ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc
- Children:
- 0e80658
- Parents:
- 412e069e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/sas/qtgui/Plotting/UnitTesting/SlicerModelTest.py
r99ea1b0 r3e8dee3 3 3 from unittest.mock import MagicMock 4 4 5 from PyQt 4 import QtGui6 from PyQt 4import QtCore5 from PyQt5 import QtGui, QtWidgets 6 from PyQt5 import QtCore 7 7 8 8 # set up import paths … … 12 12 from sas.qtgui.Plotting.SlicerModel import SlicerModel 13 13 14 if not Qt Gui.QApplication.instance():15 app = Qt Gui.QApplication(sys.argv)14 if not QtWidgets.QApplication.instance(): 15 app = QtWidgets.QApplication(sys.argv) 16 16 17 17 class SlicerModelTest(unittest.TestCase):
Note: See TracChangeset
for help on using the changeset viewer.