diff options
author | Barry Warsaw <barry@python.org> | 2016-01-11 19:49:34 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2016-01-11 19:49:34 (GMT) |
commit | 8da4023e2067a7f30c3e0fbfd55c3b6e2b59ab32 (patch) | |
tree | a174921f69961e3d599d6eae875c92ea05fe92f6 /Lib | |
parent | 607965eb7e11b9405e23175d1f8aee3647425a80 (diff) | |
download | cpython-8da4023e2067a7f30c3e0fbfd55c3b6e2b59ab32.zip cpython-8da4023e2067a7f30c3e0fbfd55c3b6e2b59ab32.tar.gz cpython-8da4023e2067a7f30c3e0fbfd55c3b6e2b59ab32.tar.bz2 |
Comment out another test that won't pass after reverting the picklability
regression.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_csv.py | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py index 181af99..d456759 100644 --- a/Lib/test/test_csv.py +++ b/Lib/test/test_csv.py @@ -468,16 +468,17 @@ class TestDialectRegistry(unittest.TestCase): self.assertRaises(TypeError, csv.reader, [], quoting = -1) self.assertRaises(TypeError, csv.reader, [], quoting = 100) - def test_copy(self): - for name in csv.list_dialects(): - dialect = csv.get_dialect(name) - self.assertRaises(TypeError, copy.copy, dialect) - - def test_pickle(self): - for name in csv.list_dialects(): - dialect = csv.get_dialect(name) - for proto in range(pickle.HIGHEST_PROTOCOL + 1): - self.assertRaises(TypeError, pickle.dumps, dialect, proto) + # See issue #22995 + ## def test_copy(self): + ## for name in csv.list_dialects(): + ## dialect = csv.get_dialect(name) + ## self.assertRaises(TypeError, copy.copy, dialect) + + ## def test_pickle(self): + ## for name in csv.list_dialects(): + ## dialect = csv.get_dialect(name) + ## for proto in range(pickle.HIGHEST_PROTOCOL + 1): + ## self.assertRaises(TypeError, pickle.dumps, dialect, proto) class TestCsvBase(unittest.TestCase): def readerAssertEqual(self, input, expected_result): |