[Python-checkins] cpython (2.7): Comment out another test that won't pass after reverting the picklability
barry.warsaw
python-checkins at python.org
Mon Jan 11 14:49:43 EST 2016
https://hg.python.org/cpython/rev/609226a23086
changeset: 99852:609226a23086
branch: 2.7
user: Barry Warsaw <barry at python.org>
date: Mon Jan 11 14:49:34 2016 -0500
summary:
Comment out another test that won't pass after reverting the picklability
regression.
files:
Lib/test/test_csv.py | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/Lib/test/test_csv.py b/Lib/test/test_csv.py
--- a/Lib/test/test_csv.py
+++ b/Lib/test/test_csv.py
@@ -468,16 +468,17 @@
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)
+ # 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)
+ ## 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):
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list