[Csv] [Python-Dev] These csv test cases seem incorrect to me...
skip at pobox.com
skip at pobox.com
Mon Mar 12 03:56:00 CET 2007
>> I'm far from having anything which will pass the current test suite,
>> but in diagnosing some of my current failures I noticed a couple test
>> cases which seem wrong. In the TestDialectExcel class I see these
>> two questionable tests:
>>
>> def test_quotes_and_more(self):
>> self.readerAssertEqual('"a"b', [['ab']])
>>
>> def test_quote_and_quote(self):
>> self.readerAssertEqual('"a" "b"', [['a "b"']])
Andrew> The point was to produce the same results as Excel. Sure, Excel
Andrew> probably doesn't generate crap like this itself, but 3rd parties
Andrew> do, and people complain if we don't parse it just like Excel
Andrew> (sigh).
(sigh) indeed.
Thanks,
Skip
More information about the Csv
mailing list