Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f757ed

Browse files
committed
Actually have test_largefile execute. Call to test.test_support.run_unittest()
somehow got lost.
1 parent b558a2e commit 7f757ed

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lib/test/test_largefile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ def main_test():
171171
f = open(TESTFN, 'w')
172172
if hasattr(f, 'truncate'):
173173
suite.addTest(TestCase('test_truncate'))
174+
f.close()
175+
unlink(TESTFN)
176+
run_unittest(suite)
177+
unlink(TESTFN)
174178

175179
if __name__ == '__main__':
176180
main_test()

0 commit comments

Comments
 (0)