Lines Matching refs:TESTFN
1 from test.test_support import findfile, TESTFN, unlink
49 unlink(TESTFN)
91 f = self.create_file(TESTFN)
99 f = self.create_file(TESTFN)
104 self.check_file(TESTFN, self.nframes, self.frames)
107 with open(TESTFN, 'wb') as testfile:
114 with open(TESTFN, 'rb') as testfile:
119 with open(TESTFN, 'wb') as testfile:
128 with open(TESTFN, 'rb') as testfile:
133 with open(TESTFN, 'wb') as testfile:
140 with open(TESTFN, 'rb') as testfile:
145 f = self.create_file(TESTFN)
150 with UnseekableIO(TESTFN, 'rb') as testfile:
154 with UnseekableIO(TESTFN, 'wb') as testfile:
161 self.check_file(TESTFN, self.nframes, self.frames)
164 with UnseekableIO(TESTFN, 'wb') as testfile:
177 with open(TESTFN, 'rb') as testfile:
182 with UnseekableIO(TESTFN, 'wb') as testfile:
195 with open(TESTFN, 'rb') as testfile:
219 with open(TESTFN, 'wb') as testfile:
253 fout = self.fout = self.module.open(TESTFN, 'wb')
262 fout = self.fout = self.module.open(TESTFN, 'rb')
269 with open(TESTFN, 'wb') as testfile:
274 with open(TESTFN, 'rb') as testfile: