summaryrefslogtreecommitdiff
path: root/tests/test_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_util.py')
-rw-r--r--tests/test_util.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
index f4c758e..442630d 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -7,7 +7,7 @@ All Rights Reserved.
"""
from M2Crypto import six
-from tests import unittest
+from . import unittest
class UtilTestCase(unittest.TestCase):
@@ -40,7 +40,7 @@ class UtilTestCase(unittest.TestCase):
def suite():
suite = unittest.TestSuite()
- suite.addTest(unittest.makeSuite(UtilTestCase))
+ suite.addTest(unittest.TestLoader().loadTestsFromTestCase(UtilTestCase))
return suite