From 7f757edf15d130f82149c2133974056db1be201e Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Mon, 3 Mar 2008 02:31:43 +0000 Subject: Actually have test_largefile execute. Call to test.test_support.run_unittest() somehow got lost. --- Lib/test/test_largefile.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Lib/test/test_largefile.py b/Lib/test/test_largefile.py index f7697d2..8157ddb 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() -- cgit v0.12