summaryrefslogtreecommitdiff
path: root/tests/test_ecdh.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ecdh.py')
-rw-r--r--tests/test_ecdh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ecdh.py b/tests/test_ecdh.py
index 0dc4600..dc92dae 100644
--- a/tests/test_ecdh.py
+++ b/tests/test_ecdh.py
@@ -9,7 +9,7 @@ rights reserved.
from M2Crypto import EC, Rand
-from tests import unittest
+from . import unittest
from tests.test_ec_curves import tested_curve
@@ -42,7 +42,7 @@ class ECDHTestCase(unittest.TestCase):
def suite():
- return unittest.makeSuite(ECDHTestCase)
+ return unittest.TestLoader().loadTestsFromTestCase(ECDHTestCase)
if __name__ == '__main__':