aboutsummaryrefslogtreecommitdiff
path: root/python/tests/group_session_test.py
diff options
context:
space:
mode:
authorDamir Jelić <poljar@termina.org.uk>2019-06-20 13:38:35 +0200
committerDamir Jelić <poljar@termina.org.uk>2019-06-20 14:07:14 +0200
commit28350d612e4f2cbb7cdf3187a871a0e9f3c04724 (patch)
treea1d63e81df5434a615fc8c6fcd589e6f9dc2a8f4 /python/tests/group_session_test.py
parentc4d703ac3dc6f7d4962d26d252d1ac2afbec0015 (diff)
tests: Use Unicode literals in the Unicode decoding tests.
This is needed because the function returns Unicode strings and the comparison will fail under python2 unless Unicode literals are used.
Diffstat (limited to 'python/tests/group_session_test.py')
-rw-r--r--python/tests/group_session_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/group_session_test.py b/python/tests/group_session_test.py
index 3942024..b45fbb6 100644
--- a/python/tests/group_session_test.py
+++ b/python/tests/group_session_test.py
@@ -125,7 +125,7 @@ class TestClass(object):
plaintext, _ = inbound.decrypt(text)
print(plaintext)
- assert plaintext == "�"
+ assert plaintext == u"�"
plaintext, _ = inbound.decrypt(text, "ignore")
assert plaintext == ""