summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-03-03 02:31:43 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-03-03 02:31:43 (GMT)
commit7f757edf15d130f82149c2133974056db1be201e (patch)
treed959a3e0a07c07b35a3e84c611672dbc7e64dd26
parentb558a2e13abdbd8ea03691fcf05603c90ef5c091 (diff)
downloadcpython-7f757edf15d130f82149c2133974056db1be201e.zip
cpython-7f757edf15d130f82149c2133974056db1be201e.tar.gz
cpython-7f757edf15d130f82149c2133974056db1be201e.tar.bz2
Actually have test_largefile execute. Call to test.test_support.run_unittest()
somehow got lost.
-rw-r--r--Lib/test/test_largefile.py4
1 files changed, 4 insertions, 0 deletions
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()