Lines Matching refs:TESTFN
4 from test.support.os_helper import (TESTFN, rmtree, unlink)
356 rmtree(TESTFN)
357 unlink(TESTFN)
364 r.write_results(show_missing=True, summary=True, coverdir=TESTFN)
373 files = os.listdir(TESTFN)
385 if os.path.exists(TESTFN):
386 files = os.listdir(TESTFN)
492 filename = TESTFN + '.py'
493 modulename = os.path.basename(TESTFN)
504 with open(TESTFN, 'w', encoding='utf-8') as fd:
505 self.addCleanup(unlink, TESTFN)
509 status, direct_stdout, stderr = assert_python_ok(TESTFN)
510 status, trace_stdout, stderr = assert_python_ok('-m', 'trace', '-l', TESTFN,
517 modulename = os.path.basename(TESTFN)