From f3d6f4cdf65c9d73edca87c19b24b9b8682c2dc6 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Thu, 19 Nov 2015 13:05:49 +0000 Subject: [PATCH] Remove unused imports --- glue/qt/glue_toolbar.py | 3 --- glue/qt/tests/test_qtutil.py | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/glue/qt/glue_toolbar.py b/glue/qt/glue_toolbar.py index a882e1b74..e1e37fbe9 100644 --- a/glue/qt/glue_toolbar.py +++ b/glue/qt/glue_toolbar.py @@ -12,9 +12,6 @@ else: from matplotlib.backends.backend_qt4 import NavigationToolbar2QT -from ..external.qt import QtCore, QtGui -from ..external.qt.QtGui import QMenu -from ..external.qt.QtCore import Qt, Signal from ..core.callback_property import add_callback from .qtutil import get_icon, nonpartial diff --git a/glue/qt/tests/test_qtutil.py b/glue/qt/tests/test_qtutil.py index b12bf2e30..8cf5fc55b 100644 --- a/glue/qt/tests/test_qtutil.py +++ b/glue/qt/tests/test_qtutil.py @@ -7,7 +7,7 @@ from .. import qtutil from ...external.qt import QtGui -from ...external.qt.QtCore import Qt, QDir +from ...external.qt.QtCore import Qt from mock import MagicMock, patch from ..qtutil import GlueDataDialog from ..qtutil import pretty_number, GlueComboBox, PythonListModel, update_combobox