]> granicus.if.org Git - python/commitdiff
Actually have test_largefile execute. Call to test.test_support.run_unittest()
authorBrett Cannon <bcannon@gmail.com>
Mon, 3 Mar 2008 02:31:43 +0000 (02:31 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 3 Mar 2008 02:31:43 +0000 (02:31 +0000)
somehow got lost.

Lib/test/test_largefile.py

index f7697d24f528fbf8113ebcfabb73af2f8482e849..8157ddbfa6f5e15fada095a61687cd44227368f0 100644 (file)
@@ -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()