]> granicus.if.org Git - python/commitdiff
Comment out another test that won't pass after reverting the picklability
authorBarry Warsaw <barry@python.org>
Mon, 11 Jan 2016 19:49:34 +0000 (14:49 -0500)
committerBarry Warsaw <barry@python.org>
Mon, 11 Jan 2016 19:49:34 +0000 (14:49 -0500)
regression.

Lib/test/test_csv.py

index 181af99efb74e2527dff67d18d420fadcb660e13..d4567590cb1d8e4289352f73d1cb0e80abd59673 100644 (file)
@@ -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):