From: Brett Cannon Date: Mon, 3 Mar 2008 02:31:43 +0000 (+0000) Subject: Actually have test_largefile execute. Call to test.test_support.run_unittest() X-Git-Tag: v3.0a4~192 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f757edf15d130f82149c2133974056db1be201e;p=thirdparty%2FPython%2Fcpython.git Actually have test_largefile execute. Call to test.test_support.run_unittest() somehow got lost. --- diff --git a/Lib/test/test_largefile.py b/Lib/test/test_largefile.py index f7697d24f528..8157ddbfa6f5 100644 --- a/Lib/test/test_largefile.py +++ b/Lib/test/test_largefile.py @@ -171,6 +171,10 @@ def main_test(): f = open(TESTFN, 'w') if hasattr(f, 'truncate'): suite.addTest(TestCase('test_truncate')) + f.close() + unlink(TESTFN) + run_unittest(suite) + unlink(TESTFN) if __name__ == '__main__': main_test()