503
503
self._test_close_open_io(io_func)
508
526
# Historically, these tests have been sloppy about removing TESTFN.
509
527
# So get rid of it no matter what.
511
529
run_unittest(AutoFileTests, OtherFileTests, FileSubclassTests,
514
532
if os.path.exists(TESTFN):