mirror of https://github.com/python/cpython
Actually have test_largefile execute. Call to test.test_support.run_unittest()
somehow got lost.
This commit is contained in:
parent
b558a2e13a
commit
7f757edf15
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue