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