summaryrefslogtreecommitdiff
path: root/tests/test_ec_curves.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ec_curves.py')
-rw-r--r--tests/test_ec_curves.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_ec_curves.py b/tests/test_ec_curves.py
index c15dcec..3f36356 100644
--- a/tests/test_ec_curves.py
+++ b/tests/test_ec_curves.py
@@ -22,7 +22,7 @@ from __future__ import absolute_import
import logging
from M2Crypto import EC, Rand, m2 # noqa
-from tests import unittest
+from . import unittest
log = logging.getLogger(__name__)
@@ -161,7 +161,7 @@ class ECCurveTests(unittest.TestCase):
def suite():
suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(ECCurveTests))
+ suite.addTest(unittest.TestLoader().loadTestsFromTestCase(ECCurveTests))
return suite