Actually have test_largefile execute. Call to test.test_support.run_unittest()

somehow got lost.
This commit is contained in:
Brett Cannon 2008-03-03 02:31:43 +00:00
parent b558a2e13a
commit 7f757edf15
1 changed files with 4 additions and 0 deletions

View 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()