summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_csv.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-07-27 20:22:34 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-07-27 20:22:34 (GMT)
commit0f41acb0eab3314aa9235632de9f0c705a51a6f1 (patch)
tree7e6421314de3461b4dae03243d7ede7c80c5ad8e /Lib/test/test_csv.py
parent0efea322a9733c5184eaacea4e3a6484609de587 (diff)
downloadcpython-0f41acb0eab3314aa9235632de9f0c705a51a6f1.zip
cpython-0f41acb0eab3314aa9235632de9f0c705a51a6f1.tar.gz
cpython-0f41acb0eab3314aa9235632de9f0c705a51a6f1.tar.bz2
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 7c31ac7..3f3f328 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: