summaryrefslogtreecommitdiff
path: root/tests/test_rsa.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_rsa.py')
-rw-r--r--tests/test_rsa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_rsa.py b/tests/test_rsa.py
index a1d0805..21f7577 100644
--- a/tests/test_rsa.py
+++ b/tests/test_rsa.py
@@ -10,7 +10,7 @@ import logging
import os
from M2Crypto import BIO, RSA, Rand, X509, m2, six
-from tests import unittest
+from . import unittest
from tests.fips import fips_mode
log = logging.getLogger('test_RSA')
@@ -345,7 +345,7 @@ class RSATestCase(unittest.TestCase):
def suite():
- return unittest.makeSuite(RSATestCase)
+ return unittest.TestLoader().loadTestsFromTestCase(RSATestCase)
if __name__ == '__main__':