[Tests] Remove debug traceback

This commit is contained in:
Calum Lind 2018-10-04 23:48:37 +01:00
parent 6973f96f8c
commit 6cf13d112b
2 changed files with 5 additions and 13 deletions

View File

@ -21,15 +21,11 @@ from .basetest import BaseTestCase
libs_available = True
# Allow running other tests without GTKUI dependencies available
try:
from deluge.ui.gtkui.mainwindow import MainWindow
from deluge.ui.gtkui.gtkui import DEFAULT_PREFS
from deluge.ui.gtkui.files_tab import FilesTab
from deluge.ui.gtkui.gtkui import DEFAULT_PREFS
from deluge.ui.gtkui.mainwindow import MainWindow
except ImportError as err:
libs_available = False
import traceback
traceback.print_exc()
setup_translations()

View File

@ -26,18 +26,14 @@ try:
except ImportError as err:
libs_available = False
TYPE_UINT64 = 'Whatever'
import traceback
traceback.print_exc()
else:
libs_available = True
from deluge.ui.gtkui.mainwindow import (
MainWindow,
) # pylint: disable=ungrouped-imports
# pylint: disable=ungrouped-imports
from deluge.ui.gtkui.gtkui import DEFAULT_PREFS
from deluge.ui.gtkui.mainwindow import MainWindow
from deluge.ui.gtkui.menubar import MenuBar
from deluge.ui.gtkui.torrentdetails import TorrentDetails
from deluge.ui.gtkui.torrentview import TorrentView
from deluge.ui.gtkui.gtkui import DEFAULT_PREFS
setup_translations()