Fix parsing of csv files with escapes (escape character previously would be
left in stream).
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py
index 6c47c6e..66b0ea9 100644
--- a/Lib/test/test_csv.py
+++ b/Lib/test/test_csv.py
@@ -227,10 +227,10 @@
self.assertRaises(csv.Error, self._read_test, ['a,b\r\nc,d'], [])
def test_read_escape(self):
- self._read_test(['a,\\b,c'], [['a', '\\b', 'c']], escapechar='\\')
+ self._read_test(['a,\\b,c'], [['a', 'b', 'c']], escapechar='\\')
self._read_test(['a,b\\,c'], [['a', 'b,c']], escapechar='\\')
self._read_test(['a,"b\\,c"'], [['a', 'b,c']], escapechar='\\')
- self._read_test(['a,"b,\\c"'], [['a', 'b,\\c']], escapechar='\\')
+ self._read_test(['a,"b,\\c"'], [['a', 'b,c']], escapechar='\\')
self._read_test(['a,"b,c\\""'], [['a', 'b,c"']], escapechar='\\')
self._read_test(['a,"b,c"\\'], [['a', 'b,c\\']], escapechar='\\')