Lines Matching refs:TESTFN
10 from test.support import TESTFN
18 self.f = self.open(TESTFN, 'wb')
23 support.unlink(TESTFN)
46 self.f = self.open(TESTFN, 'rb')
54 self.f = self.open(TESTFN, 'r')
63 self.f = self.open(TESTFN, 'rb')
86 self.assertEqual(f.name, TESTFN)
142 support.unlink(TESTFN)
146 self.open(TESTFN, 'wb').close()
149 f = self.open(TESTFN, mode)
160 f = self.open(TESTFN, bad_mode)
164 if TESTFN in s or bad_mode not in s:
174 f = self.open(TESTFN, 'wb', s)
178 f = self.open(TESTFN, 'rb', s)
204 f = self.open(TESTFN, 'wb')
210 f = self.open(TESTFN,'rb+')
222 size = os.path.getsize(TESTFN)
248 bag = self.open(TESTFN, "wb")
254 f = self.open(TESTFN, 'rb')
267 f = self.open(TESTFN, 'rb')
311 f = self.open(TESTFN, 'rb')