diff options
author | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-11 02:22:47 (GMT) |
---|---|---|
committer | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-11 02:22:47 (GMT) |
commit | 7130ff5eb9ad0edf5cf0c8811ceea155f11194eb (patch) | |
tree | 0011a18839a3c3066af8ba6cef545c530e885a52 /Lib/test | |
parent | 8c94b42f31515ca6b552cb427aea0cd446098dd9 (diff) | |
download | cpython-7130ff5eb9ad0edf5cf0c8811ceea155f11194eb.zip cpython-7130ff5eb9ad0edf5cf0c8811ceea155f11194eb.tar.gz cpython-7130ff5eb9ad0edf5cf0c8811ceea155f11194eb.tar.bz2 |
Replace python-coded validation of csv dialect with a call to the C
dialect type (which has a better idea of what is and isn't valid).
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_csv.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py index 34177cc..ff45b61 100644 --- a/Lib/test/test_csv.py +++ b/Lib/test/test_csv.py @@ -727,10 +727,6 @@ class TestDialectValidity(unittest.TestCase): mydialect.quoting = None self.assertRaises(csv.Error, mydialect) - mydialect.quoting = csv.QUOTE_NONE - mydialect.escapechar = None - self.assertRaises(csv.Error, mydialect) - mydialect.doublequote = True mydialect.quoting = csv.QUOTE_ALL mydialect.quotechar = '"' |