mirror of https://github.com/python/cpython
Revert 76452b892838 as per http://mail.python.org/pipermail/python-dev/2011-July/112243.html.
This commit is contained in:
parent
8a3b988b8a
commit
cd9f1203a4
|
@ -459,20 +459,20 @@ class TestDialectExcel(TestCsvBase):
|
|||
'5', '6']])
|
||||
|
||||
def test_quoted_quote(self):
|
||||
self.readerAssertEqual('1,2,3,"""I see,"" said the happy man","as he picked up his hammer and saw"',
|
||||
self.readerAssertEqual('1,2,3,"""I see,"" said the blind man","as he picked up his hammer and saw"',
|
||||
[['1', '2', '3',
|
||||
'"I see," said the happy man',
|
||||
'"I see," said the blind man',
|
||||
'as he picked up his hammer and saw']])
|
||||
|
||||
def test_quoted_nl(self):
|
||||
input = '''\
|
||||
1,2,3,"""I see,""
|
||||
said the happy man","as he picked up his
|
||||
said the blind man","as he picked up his
|
||||
hammer and saw"
|
||||
9,8,7,6'''
|
||||
self.readerAssertEqual(input,
|
||||
[['1', '2', '3',
|
||||
'"I see,"\nsaid the happy man',
|
||||
'"I see,"\nsaid the blind man',
|
||||
'as he picked up his\nhammer and saw'],
|
||||
['9','8','7','6']])
|
||||
|
||||
|
|
Loading…
Reference in New Issue