summaryrefslogtreecommitdiff
path: root/tests/test_dsa.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_dsa.py')
-rw-r--r--tests/test_dsa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_dsa.py b/tests/test_dsa.py
index a9a940a..140ce99 100644
--- a/tests/test_dsa.py
+++ b/tests/test_dsa.py
@@ -7,7 +7,7 @@ Copyright (c) 2000 Ng Pheng Siong. All rights reserved."""
import hashlib
from M2Crypto import DSA, Rand
-from tests import unittest
+from . import unittest
class DSATestCase(unittest.TestCase):
@@ -112,7 +112,7 @@ class DSATestCase(unittest.TestCase):
def suite():
- return unittest.makeSuite(DSATestCase)
+ return unittest.TestLoader().loadTestsFromTestCase(DSATestCase)
if __name__ == '__main__':