summaryrefslogtreecommitdiff
path: root/tests/test_pkcs1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_pkcs1.py')
-rw-r--r--tests/test_pkcs1.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_pkcs1.py b/tests/test_pkcs1.py
index c841485..d8fb1b4 100644
--- a/tests/test_pkcs1.py
+++ b/tests/test_pkcs1.py
@@ -1,12 +1,12 @@
'''Tests string operations.'''
import struct
-import unittest
+import unittest2
import rsa
from rsa import pkcs1
-class BinaryTest(unittest.TestCase):
+class BinaryTest(unittest2.TestCase):
def setUp(self):
(self.pub, self.priv) = rsa.newkeys(256)
@@ -46,7 +46,7 @@ class BinaryTest(unittest.TestCase):
self.assertNotEqual(encrypted1, encrypted2)
-class SignatureTest(unittest.TestCase):
+class SignatureTest(unittest2.TestCase):
def setUp(self):
(self.pub, self.priv) = rsa.newkeys(512)