summaryrefslogtreecommitdiff
path: root/tests/test_expect.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_expect.py')
-rwxr-xr-xtests/test_expect.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_expect.py b/tests/test_expect.py
index be6078c..c6d72da 100755
--- a/tests/test_expect.py
+++ b/tests/test_expect.py
@@ -714,4 +714,4 @@ class ExpectTestCase (PexpectTestCase.PexpectTestCase):
if __name__ == '__main__':
unittest.main()
-suite = unittest.makeSuite(ExpectTestCase, 'test')
+suite = unittest.TestLoader().loadTestsFromTestCase(ExpectTestCase)