summaryrefslogtreecommitdiff
path: root/tests/test_constructor.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_constructor.py')
-rwxr-xr-xtests/test_constructor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_constructor.py b/tests/test_constructor.py
index 98c473a..1b4d717 100755
--- a/tests/test_constructor.py
+++ b/tests/test_constructor.py
@@ -44,5 +44,5 @@ class TestCaseConstructor(PexpectTestCase.PexpectTestCase):
if __name__ == '__main__':
unittest.main()
-suite = unittest.makeSuite(TestCaseConstructor,'test')
+suite = unittest.TestLoader().loadTestsFromTestCase(TestCaseConstructor)