Lines Matching refs:fieldnames
309 fieldnames=['a', 'b', 'c'])):
639 writer = csv.DictWriter(fileobj, fieldnames = ["f1", "f2", "f3"])
659 writer = csv.DictWriter(fileobj, fieldnames = ["f1", "f2", "f3"])
679 fieldnames=["f1", "f2", "f3"])
692 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
706 reader = csv.DictReader(f, fieldnames=csv.reader(f).next())
707 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
723 self.assertEqual(reader.fieldnames, ["f1", "f2", "f3"])
736 fieldnames=["f1", "f2"])
750 fieldnames=["f1", "f2"], restkey="_rest")
764 self.assertEqual(reader.fieldnames, ["f1", "f2"])
778 fieldnames="1 2 3 4 5 6".split(),
797 fieldnames="i1 float i2 s1 s2".split())
807 fieldnames="1 2 3 4 5 6".split())
815 fieldnames="1 2 3 4 5 6".split(),