summaryrefslogtreecommitdiff
path: root/tests/test_bn.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_bn.py')
-rw-r--r--tests/test_bn.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_bn.py b/tests/test_bn.py
index 410969a..560bebd 100644
--- a/tests/test_bn.py
+++ b/tests/test_bn.py
@@ -10,7 +10,7 @@ import re
import warnings
from M2Crypto import BN, Rand
-from tests import unittest
+from . import unittest
loops = 16
@@ -72,7 +72,7 @@ class BNTestCase(unittest.TestCase):
def suite():
- return unittest.makeSuite(BNTestCase)
+ return unittest.TestLoader().loadTestsFromTestCase(BNTestCase)
if __name__ == '__main__':