Commit 8da4023e authored by Barry Warsaw's avatar Barry Warsaw

Comment out another test that won't pass after reverting the picklability

regression.
parent 607965eb
...@@ -468,16 +468,17 @@ class TestDialectRegistry(unittest.TestCase): ...@@ -468,16 +468,17 @@ class TestDialectRegistry(unittest.TestCase):
self.assertRaises(TypeError, csv.reader, [], quoting = -1) self.assertRaises(TypeError, csv.reader, [], quoting = -1)
self.assertRaises(TypeError, csv.reader, [], quoting = 100) self.assertRaises(TypeError, csv.reader, [], quoting = 100)
def test_copy(self): # See issue #22995
for name in csv.list_dialects(): ## def test_copy(self):
dialect = csv.get_dialect(name) ## for name in csv.list_dialects():
self.assertRaises(TypeError, copy.copy, dialect) ## dialect = csv.get_dialect(name)
## self.assertRaises(TypeError, copy.copy, dialect)
def test_pickle(self):
for name in csv.list_dialects(): ## def test_pickle(self):
dialect = csv.get_dialect(name) ## for name in csv.list_dialects():
for proto in range(pickle.HIGHEST_PROTOCOL + 1): ## dialect = csv.get_dialect(name)
self.assertRaises(TypeError, pickle.dumps, dialect, proto) ## for proto in range(pickle.HIGHEST_PROTOCOL + 1):
## self.assertRaises(TypeError, pickle.dumps, dialect, proto)
class TestCsvBase(unittest.TestCase): class TestCsvBase(unittest.TestCase):
def readerAssertEqual(self, input, expected_result): def readerAssertEqual(self, input, expected_result):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment