We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 532c847 commit 5729334Copy full SHA for 5729334
src/bitmessageqt/tests/main.py
@@ -4,7 +4,8 @@
4
import sys
5
import unittest
6
7
-from qtpy import QtCore, QtWidgets
+from PyQt5 import QtCore, QtWidgets
8
+from six import string_types
9
10
import bitmessageqt
11
import queues
@@ -39,10 +40,7 @@ class TestMain(unittest.TestCase):
39
40
41
def test_translate(self):
42
"""Check the results of _translate() with various args"""
- self.assertIsInstance(
43
- _translate("MainWindow", "Test"),
44
- unicode
45
- )
+ self.assertIsInstance(_translate("MainWindow", "Test"), string_types)
46
47
48
class TestUISignaler(TestBase):
0 commit comments