mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Revert 76452b892838 as per http://mail.python.org/pipermail/python-dev/2011-July/112243.html.
This commit is contained in:
parent
8a3b988b8a
commit
cd9f1203a4
1 changed files with 4 additions and 4 deletions
|
|
@ -459,20 +459,20 @@ class TestDialectExcel(TestCsvBase):
|
||||||
'5', '6']])
|
'5', '6']])
|
||||||
|
|
||||||
def test_quoted_quote(self):
|
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',
|
[['1', '2', '3',
|
||||||
'"I see," said the happy man',
|
'"I see," said the blind man',
|
||||||
'as he picked up his hammer and saw']])
|
'as he picked up his hammer and saw']])
|
||||||
|
|
||||||
def test_quoted_nl(self):
|
def test_quoted_nl(self):
|
||||||
input = '''\
|
input = '''\
|
||||||
1,2,3,"""I see,""
|
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"
|
hammer and saw"
|
||||||
9,8,7,6'''
|
9,8,7,6'''
|
||||||
self.readerAssertEqual(input,
|
self.readerAssertEqual(input,
|
||||||
[['1', '2', '3',
|
[['1', '2', '3',
|
||||||
'"I see,"\nsaid the happy man',
|
'"I see,"\nsaid the blind man',
|
||||||
'as he picked up his\nhammer and saw'],
|
'as he picked up his\nhammer and saw'],
|
||||||
['9','8','7','6']])
|
['9','8','7','6']])
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue