Fix imports in bitmessageqt.tests
This commit is contained in:
parent
327a539a55
commit
a0496813fa
|
@ -4,7 +4,8 @@ import Queue
|
||||||
import sys
|
import sys
|
||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from qtpy import QtCore, QtWidgets
|
from PyQt5 import QtCore, QtWidgets
|
||||||
|
from six import string_types
|
||||||
|
|
||||||
import bitmessageqt
|
import bitmessageqt
|
||||||
import queues
|
import queues
|
||||||
|
@ -39,10 +40,7 @@ class TestMain(unittest.TestCase):
|
||||||
|
|
||||||
def test_translate(self):
|
def test_translate(self):
|
||||||
"""Check the results of _translate() with various args"""
|
"""Check the results of _translate() with various args"""
|
||||||
self.assertIsInstance(
|
self.assertIsInstance(_translate("MainWindow", "Test"), string_types)
|
||||||
_translate("MainWindow", "Test"),
|
|
||||||
unicode
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
class TestUISignaler(TestBase):
|
class TestUISignaler(TestBase):
|
||||||
|
|
Reference in New Issue
Block a user