summaryrefslogtreecommitdiff
path: root/tests/test_ecdsa.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ecdsa.py')
-rw-r--r--tests/test_ecdsa.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ecdsa.py b/tests/test_ecdsa.py
index dea1209..7dfd044 100644
--- a/tests/test_ecdsa.py
+++ b/tests/test_ecdsa.py
@@ -11,7 +11,7 @@ import logging
from M2Crypto import EC, Rand
-from tests import unittest
+from . import unittest
from tests.test_ec_curves import tested_curve
log = logging.getLogger(__name__)
@@ -87,7 +87,7 @@ class ECDSATestCase(unittest.TestCase):
def suite():
- return unittest.makeSuite(ECDSATestCase)
+ return unittest.TestLoader().loadTestsFromTestCase(ECDSATestCase)
if __name__ == '__main__':