summaryrefslogtreecommitdiff
path: root/tests/deprecated_test_filedescriptor.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/deprecated_test_filedescriptor.py')
-rwxr-xr-xtests/deprecated_test_filedescriptor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/deprecated_test_filedescriptor.py b/tests/deprecated_test_filedescriptor.py
index 6b0ef3e..cd930cf 100755
--- a/tests/deprecated_test_filedescriptor.py
+++ b/tests/deprecated_test_filedescriptor.py
@@ -72,7 +72,7 @@ class ExpectTestCase(PexpectTestCase.PexpectTestCase):
if __name__ == '__main__':
unittest.main()
-suite = unittest.makeSuite(ExpectTestCase, 'test')
+suite = unittest.TestLoader().loadTestsFromTestCase(ExpectTestCase)
#fout = open('delete_me_1','wb')
#fout.write(the_old_way)