diff options
author | Berker Peksag <berker.peksag@gmail.com> | 2014-07-27 23:22:34 +0300 |
---|---|---|
committer | Berker Peksag <berker.peksag@gmail.com> | 2014-07-27 23:22:34 +0300 |
commit | b5fc572bc2762349b1393823cb361bea9bd9e457 (patch) | |
tree | b5deb21c767dbcff9b265bdb17f1f56559c45077 /Lib/test/test_csv.py | |
parent | 80cc029cc1275d505b4d0c2367fc5b8601ca9077 (diff) | |
download | cpython-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.py | 6 |
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: |