Lines Matching refs:sniffer
1028 sniffer = csv.Sniffer()
1029 self.assertEqual(sniffer.has_header(self.sample1), False)
1030 self.assertEqual(sniffer.has_header(self.header1 + self.sample1),
1034 sniffer = csv.Sniffer()
1035 self.assertEqual(sniffer.has_header(self.sample8), False)
1036 self.assertEqual(sniffer.has_header(self.header2 + self.sample8),
1040 sniffer = csv.Sniffer()
1042 dialect = sniffer.sniff(header, ",;")
1049 sniffer = csv.Sniffer()
1050 dialect = sniffer.sniff(self.sample1)
1055 dialect = sniffer.sniff(self.sample2)
1061 sniffer = csv.Sniffer()
1062 dialect = sniffer.sniff(self.sample3)
1067 dialect = sniffer.sniff(self.sample3, delimiters="?,")
1069 dialect = sniffer.sniff(self.sample3, delimiters="/,")
1071 dialect = sniffer.sniff(self.sample4)
1073 dialect = sniffer.sniff(self.sample5)
1075 dialect = sniffer.sniff(self.sample6)
1077 dialect = sniffer.sniff(self.sample7)
1080 dialect = sniffer.sniff(self.sample8)
1082 dialect = sniffer.sniff(self.sample9)
1087 sniffer = csv.Sniffer()
1088 dialect = sniffer.sniff(self.header1)
1090 dialect = sniffer.sniff(self.header2)
1092 dialect = sniffer.sniff(self.sample2)
1094 dialect = sniffer.sniff(self.sample8)
1096 dialect = sniffer.sniff(self.sample9)