summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pkcs1.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/test_pkcs1.py b/tests/test_pkcs1.py
index 82a3775..55098e2 100644
--- a/tests/test_pkcs1.py
+++ b/tests/test_pkcs1.py
@@ -30,12 +30,6 @@ class BinaryTest(unittest2.TestCase):
message = struct.pack('>IIII', 0, 0, 0, 1)
encrypted = pkcs1.encrypt(message, self.pub)
- def _ord(a):
- if is_integer(a):
- return a
- else:
- return ord(a)
-
# Alter the encrypted stream
a = encrypted[5]
if is_bytes(a):