diff options
Diffstat (limited to 'tests/test_threading.py')
-rw-r--r-- | tests/test_threading.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_threading.py b/tests/test_threading.py index ad1d111..ce646e2 100644 --- a/tests/test_threading.py +++ b/tests/test_threading.py @@ -5,7 +5,7 @@ Copyright (C) 2007 Open Source Applications Foundation. All Rights Reserved. """ from M2Crypto import threading as m2threading, Rand -from tests import unittest +from . import unittest class ThreadingTestCase(unittest.TestCase): @@ -31,7 +31,7 @@ class ThreadingTestCase(unittest.TestCase): def suite(): suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(ThreadingTestCase)) + suite.addTest(unittest.TestLoader().loadTestsFromTestCase(ThreadingTestCase)) return suite |