Lines Matching +full:p +full:- +full:finally
1 # -*- coding: iso-8859-1 -*-
58 # Try deleting or changing attributes (they are read-only)
94 # Now try with dialect-derived options
96 delimiter='-'
106 self.assertEqual(obj.dialect.delimiter, '-')
131 finally:
144 finally:
173 self._write_test(['a',1,'p,q'], 'a,1,"p,q"')
174 self._write_error_test(csv.Error, ['a',1,'p,q'],
176 self._write_test(['a',1,'p,q'], 'a,1,"p,q"',
178 self._write_test(['a',1,'p,q'], '"a",1,"p,q"',
180 self._write_test(['a',1,'p,q'], '"a","1","p,q"',
186 self._write_test(['a',1,'p,q'], 'a,1,"p,q"',
188 self._write_error_test(csv.Error, ['a',1,'p,"q"'],
190 self._write_test(['a',1,'p,"q"'], 'a,1,"p,\\"q\\""',
199 self._write_test(['a',1,'p,q'], 'a,1,p\\,q',
216 finally:
299 csv.field_size_limit(size-1)
303 finally:
331 finally:
391 finally:
412 finally:
423 finally:
434 finally:
445 finally:
456 finally:
460 finally:
468 self.assertRaises(TypeError, csv.reader, [], quoting = -1)
493 finally:
505 finally:
647 finally:
660 # Of special note is the non-string key (issue 19449)
668 finally:
681 finally:
694 finally:
709 finally:
725 finally:
739 finally:
753 finally:
767 finally:
785 finally:
823 contents = [(20-i) for i in range(20)]
834 finally:
840 contents = [(20-i)*0.1 for i in range(20)]
850 finally:
856 contents = [(20-i)*0.1 for i in range(20)]
866 finally:
881 finally:
912 '"quotechar" must be an 1-character string')
935 '"delimiter" must be an 1-character string')
941 '"delimiter" must be an 1-character string')
1117 delta = rc-lastrc
1133 delta = rc-lastrc
1149 delta = rc-lastrc
1166 delta = rc-lastrc
1171 # commented out for now - csv module doesn't yet support Unicode
1179 ## data_encoding='iso-8859-1')