summaryrefslogtreecommitdiff
path: root/tests/test_asn1.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_asn1.py')
-rw-r--r--tests/test_asn1.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_asn1.py b/tests/test_asn1.py
index 0f5274f..95f7ea4 100644
--- a/tests/test_asn1.py
+++ b/tests/test_asn1.py
@@ -8,7 +8,7 @@ import datetime
import time
from M2Crypto import ASN1, m2
-from tests import unittest
+from . import unittest
class ASN1TestCase(unittest.TestCase):
@@ -142,7 +142,7 @@ class ASN1TestCase(unittest.TestCase):
def suite():
- return unittest.makeSuite(ASN1TestCase)
+ return unittest.TestLoader().loadTestsFromTestCase(ASN1TestCase)
if __name__ == '__main__':