diff options
author | Damir Jelić <poljar@termina.org.uk> | 2019-06-20 13:38:35 +0200 |
---|---|---|
committer | Damir Jelić <poljar@termina.org.uk> | 2019-06-20 14:07:14 +0200 |
commit | 28350d612e4f2cbb7cdf3187a871a0e9f3c04724 (patch) | |
tree | a1d63e81df5434a615fc8c6fcd589e6f9dc2a8f4 /python/tests/pk_test.py | |
parent | c4d703ac3dc6f7d4962d26d252d1ac2afbec0015 (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/pk_test.py')
-rw-r--r-- | python/tests/pk_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/pk_test.py b/python/tests/pk_test.py index 749d2eb..b82f420 100644 --- a/python/tests/pk_test.py +++ b/python/tests/pk_test.py @@ -64,4 +64,4 @@ class TestClass(object): encryption = PkEncryption(decryption.public_key) message = encryption.encrypt(bytes([0xed])) plaintext = decryption.decrypt(message) - assert plaintext == "�" + assert plaintext == u"�" |