summaryrefslogtreecommitdiff
path: root/Lib/test/test_csv.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-07-27 23:22:34 +0300
committerBerker Peksag <berker.peksag@gmail.com>2014-07-27 23:22:34 +0300
commitb5fc572bc2762349b1393823cb361bea9bd9e457 (patch)
treeb5deb21c767dbcff9b265bdb17f1f56559c45077 /Lib/test/test_csv.py
parent80cc029cc1275d505b4d0c2367fc5b8601ca9077 (diff)
downloadcpython-b5fc572bc2762349b1393823cb361bea9bd9e457.tar.gz
Issue #22076: Minor grammar fix.
Patch by Martin Matusiak.
Diffstat (limited to 'Lib/test/test_csv.py')
-rw-r--r--Lib/test/test_csv.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py
index 7c31ac71f6..3f3f328849 100644
--- a/Lib/test/test_csv.py
+++ b/Lib/test/test_csv.py
@@ -783,7 +783,7 @@ class TestDialectValidity(unittest.TestCase):
with self.assertRaises(csv.Error) as cm:
mydialect()
self.assertEqual(str(cm.exception),
- '"quotechar" must be an 1-character string')
+ '"quotechar" must be a 1-character string')
mydialect.quotechar = 4
with self.assertRaises(csv.Error) as cm:
@@ -806,13 +806,13 @@ class TestDialectValidity(unittest.TestCase):
with self.assertRaises(csv.Error) as cm:
mydialect()
self.assertEqual(str(cm.exception),
- '"delimiter" must be an 1-character string')
+ '"delimiter" must be a 1-character string')
mydialect.delimiter = ""
with self.assertRaises(csv.Error) as cm:
mydialect()
self.assertEqual(str(cm.exception),
- '"delimiter" must be an 1-character string')
+ '"delimiter" must be a 1-character string')
mydialect.delimiter = b","
with self.assertRaises(csv.Error) as cm: