aboutsummaryrefslogtreecommitdiff
path: root/python/tests/group_session_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/group_session_test.py')
-rw-r--r--python/tests/group_session_test.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/python/tests/group_session_test.py b/python/tests/group_session_test.py
index b45fbb6..4632a60 100644
--- a/python/tests/group_session_test.py
+++ b/python/tests/group_session_test.py
@@ -1,7 +1,4 @@
# -*- coding: utf-8 -*-
-
-from builtins import bytes
-
import pytest
from olm import InboundGroupSession, OlmGroupSessionError, OutboundGroupSession
@@ -121,7 +118,7 @@ class TestClass(object):
outbound = OutboundGroupSession()
inbound = InboundGroupSession(outbound.session_key)
- text = outbound.encrypt(bytes([0xed]))
+ text = outbound.encrypt(b"\xed")
plaintext, _ = inbound.decrypt(text)
print(plaintext)