summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_csv.py
diff options
context:
space:
mode:
authorAndrew McNamara <andrewm@object-craft.com.au>2005-01-12 08:16:17 (GMT)
committerAndrew McNamara <andrewm@object-craft.com.au>2005-01-12 08:16:17 (GMT)
commit5d45a8dc2247d6d9f59e57d7719c3d467dd3b40d (patch)
tree6ef90ed371a962a972d94a95f7b3d31caacb8fed /Lib/test/test_csv.py
parentc89f284df8903de66be6c60eda7d9187b38956f8 (diff)
downloadcpython-5d45a8dc2247d6d9f59e57d7719c3d467dd3b40d.zip
cpython-5d45a8dc2247d6d9f59e57d7719c3d467dd3b40d.tar.gz
cpython-5d45a8dc2247d6d9f59e57d7719c3d467dd3b40d.tar.bz2
Fix logic problem in quoting=csv.QUOTE_ALL, quotechar=None check, add test.
Diffstat (limited to 'Lib/test/test_csv.py')
-rw-r--r--Lib/test/test_csv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py
index a3c0843..ed10ed7 100644
--- a/Lib/test/test_csv.py
+++ b/Lib/test/test_csv.py
@@ -32,6 +32,8 @@ class Test_Csv(unittest.TestCase):
self.assertRaises(TypeError, ctor, arg, quoting=None)
self.assertRaises(TypeError, ctor, arg,
quoting=csv.QUOTE_ALL, quotechar='')
+ self.assertRaises(TypeError, ctor, arg,
+ quoting=csv.QUOTE_ALL, quotechar=None)
def test_reader_arg_valid(self):
self._test_arg_valid(csv.reader, [])