summaryrefslogtreecommitdiff
path: root/tests/test_dh.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_dh.py')
-rw-r--r--tests/test_dh.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_dh.py b/tests/test_dh.py
index 074f154..d439cb4 100644
--- a/tests/test_dh.py
+++ b/tests/test_dh.py
@@ -5,7 +5,7 @@
Copyright (c) 2000 Ng Pheng Siong. All rights reserved."""
from M2Crypto import DH, BIO, Rand
-from tests import unittest
+from . import unittest
class DHTestCase(unittest.TestCase):
@@ -59,7 +59,7 @@ class DHTestCase(unittest.TestCase):
def suite():
- return unittest.makeSuite(DHTestCase)
+ return unittest.TestLoader().loadTestsFromTestCase(DHTestCase)
if __name__ == '__main__':