summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_buffer.py
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2016-01-11 19:44:59 (GMT)
committerBarry Warsaw <barry@python.org>2016-01-11 19:44:59 (GMT)
commit607965eb7e11b9405e23175d1f8aee3647425a80 (patch)
tree8b8ee72c4065b46dd8a58c164d7fb1b0ceb398e6 /Lib/test/test_buffer.py
parentf65395c8c27170e3ce7b161ec43cf9947bb7f5fe (diff)
downloadcpython-607965eb7e11b9405e23175d1f8aee3647425a80.zip
cpython-607965eb7e11b9405e23175d1f8aee3647425a80.tar.gz
cpython-607965eb7e11b9405e23175d1f8aee3647425a80.tar.bz2
Comment out two tests that won't pass now after reverting the typeobject.c
change. Also, as per further discussion, we'll just remove the regressing code in typeobject.c
Diffstat (limited to 'Lib/test/test_buffer.py')
-rw-r--r--Lib/test/test_buffer.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/test/test_buffer.py b/Lib/test/test_buffer.py
index ccfd1e9..de80d44 100644
--- a/Lib/test/test_buffer.py
+++ b/Lib/test/test_buffer.py
@@ -42,11 +42,12 @@ class BufferTests(unittest.TestCase):
with self.assertRaises(TypeError):
copy.copy(buf)
- def test_pickle(self):
- buf = buffer(b'abc')
- for proto in range(pickle.HIGHEST_PROTOCOL + 1):
- with self.assertRaises(TypeError):
- pickle.dumps(buf, proto)
+ # See issue #22995
+ ## def test_pickle(self):
+ ## buf = buffer(b'abc')
+ ## for proto in range(pickle.HIGHEST_PROTOCOL + 1):
+ ## with self.assertRaises(TypeError):
+ ## pickle.dumps(buf, proto)
def test_main():