Lines Matching defs:string
745 # Of special note is the non-string key (issue 19449)
917 import array, string
918 a = array.array('u', string.ascii_letters)
954 '"quotechar" must be a 1-character string')
960 '"quotechar" must be a 1-character string')
966 '"quotechar" must be string or None, not int')
983 '"delimiter" must be a 1-character string')
989 '"delimiter" must be a 1-character string')
995 '"delimiter" must be string, not bytes')
1001 '"delimiter" must be string, not int')
1007 '"delimiter" must be string, not NoneType')
1021 with self.assertRaisesRegex(csv.Error, '"escapechar" must be a 1-character string'):
1025 with self.assertRaisesRegex(csv.Error, '"escapechar" must be a 1-character string'):
1029 with self.assertRaisesRegex(csv.Error, '"escapechar" must be string or None, not bytes'):
1033 with self.assertRaisesRegex(csv.Error, '"escapechar" must be string or None, not int'):
1055 '"lineterminator" must be a string')