Lines Matching refs:TESTFN
1 from test.support import (TESTFN, import_module, unlink,
20 if os.path.exists(TESTFN):
21 os.unlink(TESTFN)
25 os.unlink(TESTFN)
33 f = open(TESTFN, 'bw+')
113 f = open(TESTFN, 'rb')
126 with open(TESTFN, "wb") as fp:
128 with open(TESTFN, "rb") as f:
175 with open(TESTFN, "rb") as fp:
180 with open(TESTFN, "r+b") as f:
197 with open(TESTFN, 'r+b') as f:
201 with open(TESTFN, "r+b") as f:
209 with open(TESTFN, 'rb') as f:
215 with open(TESTFN, "r+b") as f:
222 with open(TESTFN, "rb") as fp:
230 with open(TESTFN, "r+b") as f:
235 with open(TESTFN, "r+b") as f:
242 with open(TESTFN, "r+b") as f:
255 with open(TESTFN, 'wb+') as f:
272 with open(TESTFN, 'wb+') as f:
290 with open(TESTFN, 'wb+') as f:
308 with open(TESTFN, 'wb+') as f:
311 with open(TESTFN, 'rb') as f:
318 with open(TESTFN, "wb+") as f:
321 with open(TESTFN, "rb+") as f, \
331 with open(TESTFN, "wb") as f:
334 with open(TESTFN, "rb") as f:
341 with open(TESTFN, "wb") as f:
344 with open(TESTFN, "w+b") as f:
350 with open(TESTFN, 'wb+') as f:
480 f = open (TESTFN, 'w+b')
482 with open(TESTFN, "rb") as f :
489 f = open (TESTFN, 'w+b')
499 f = open(TESTFN, "r+b")
511 f = open(TESTFN, "r+b")
530 f = open(TESTFN, 'rb')
541 os.unlink(TESTFN)
554 with open(TESTFN, "wb") as fp:
556 with open(TESTFN, "rb") as f:
565 with open(TESTFN, "wb") as fp:
567 with open(TESTFN, "r+b") as f:
652 with open(TESTFN, "wb") as fp:
654 f = open(TESTFN, "r+b")
760 with open(TESTFN, "wb+") as fp:
802 unlink(TESTFN)
805 unlink(TESTFN)
811 f = open(TESTFN, 'w+b')