Lines Matching refs:fo
70 fo = open(test_support.TESTFN, "wb")
72 print >> fo, d,
73 fo.close()
74 fo = open(test_support.TESTFN, "rb")
75 self.assertEqual(fo.read(), repr(d))
77 fo.close()
82 fo = open(test_support.TESTFN, "wb")
84 print >> fo, d,
85 fo.close()
86 fo = open(test_support.TESTFN, "rb")
87 self.assertEqual(fo.read(), repr(d))
89 fo.close()
370 fo = open(test_support.TESTFN, "wb")
372 print >> fo, d,
373 fo.close()
374 fo = open(test_support.TESTFN, "rb")
375 self.assertEqual(fo.read(), repr(d))
377 fo.close()