summaryrefslogtreecommitdiff
path: root/test/unit/test_multithreading.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_multithreading.py')
-rw-r--r--test/unit/test_multithreading.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/unit/test_multithreading.py b/test/unit/test_multithreading.py
index ee9e7cc..d51bfb7 100644
--- a/test/unit/test_multithreading.py
+++ b/test/unit/test_multithreading.py
@@ -192,18 +192,18 @@ class TestOutputManager(unittest.TestCase):
thread_manager.print_msg('one-argument')
thread_manager.print_msg('one %s, %d fish', 'fish', 88)
thread_manager.error('I have %d problems, but a %s is not one',
- 99, u'\u062A\u062A')
+ 99, '\u062A\u062A')
thread_manager.print_msg('some\n%s\nover the %r', 'where',
- u'\u062A\u062A')
+ '\u062A\u062A')
thread_manager.error('one-error-argument')
thread_manager.error('Sometimes\n%.1f%% just\ndoes not\nwork!',
3.14159)
thread_manager.print_raw(
- u'some raw bytes: \u062A\u062A'.encode('utf-8'))
+ 'some raw bytes: \u062A\u062A'.encode('utf-8'))
thread_manager.print_items([
('key', 'value'),
- ('object', u'O\u0308bject'),
+ ('object', 'O\u0308bject'),
])
thread_manager.print_raw(b'\xffugly\xffraw')
@@ -222,13 +222,13 @@ class TestOutputManager(unittest.TestCase):
'one fish, 88 fish\n',
'some\n', 'where\n',
over_the,
- u'some raw bytes: \u062a\u062a',
+ 'some raw bytes: \u062a\u062a',
' key: value\n',
- u' object: O\u0308bject\n'
+ ' object: O\u0308bject\n'
]).encode('utf8') + b'\xffugly\xffraw', out_stream.getvalue())
self.assertEqual(''.join([
- u'I have 99 problems, but a \u062A\u062A is not one\n',
+ 'I have 99 problems, but a \u062A\u062A is not one\n',
'one-error-argument\n',
'Sometimes\n', '3.1% just\n', 'does not\n', 'work!\n'
]), err_stream.getvalue().decode('utf8'))