Kaydet (Commit) 7f757edf authored tarafından Brett Cannon's avatar Brett Cannon

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

somehow got lost.
üst b558a2e1
...@@ -171,6 +171,10 @@ def main_test(): ...@@ -171,6 +171,10 @@ def main_test():
f = open(TESTFN, 'w') f = open(TESTFN, 'w')
if hasattr(f, 'truncate'): if hasattr(f, 'truncate'):
suite.addTest(TestCase('test_truncate')) suite.addTest(TestCase('test_truncate'))
f.close()
unlink(TESTFN)
run_unittest(suite)
unlink(TESTFN)
if __name__ == '__main__': if __name__ == '__main__':
main_test() main_test()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment