Lines Matching refs:fo
70 fo = open(support.TESTFN, "w")
72 fo.write(str(d))
73 fo.close()
74 fo = open(support.TESTFN, "r")
75 self.assertEqual(fo.read(), repr(d))
77 fo.close()
82 fo = open(support.TESTFN, "w")
84 fo.write(str(d))
85 fo.close()
86 fo = open(support.TESTFN, "r")
87 self.assertEqual(fo.read(), repr(d))
89 fo.close()
535 fo = open(support.TESTFN, "w")
536 print(d, file=fo, end='')
537 fo.close()
538 fo = open(support.TESTFN, "r")
539 self.assertEqual(fo.read(), repr(d))
541 fo.close()