diff options
author | Barry Warsaw <barry@python.org> | 2016-01-11 19:44:59 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2016-01-11 19:44:59 (GMT) |
commit | 607965eb7e11b9405e23175d1f8aee3647425a80 (patch) | |
tree | 8b8ee72c4065b46dd8a58c164d7fb1b0ceb398e6 /Lib/test/test_memoryview.py | |
parent | f65395c8c27170e3ce7b161ec43cf9947bb7f5fe (diff) | |
download | cpython-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_memoryview.py')
-rw-r--r-- | Lib/test/test_memoryview.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Lib/test/test_memoryview.py b/Lib/test/test_memoryview.py index bc83247..4407af8 100644 --- a/Lib/test/test_memoryview.py +++ b/Lib/test/test_memoryview.py @@ -362,11 +362,12 @@ class OtherTest(unittest.TestCase): with self.assertRaises(TypeError): copy.copy(m) - def test_pickle(self): - m = memoryview(b'abc') - for proto in range(pickle.HIGHEST_PROTOCOL + 1): - with self.assertRaises(TypeError): - pickle.dumps(m, proto) + # See issue #22995 + ## def test_pickle(self): + ## m = memoryview(b'abc') + ## for proto in range(pickle.HIGHEST_PROTOCOL + 1): + ## with self.assertRaises(TypeError): + ## pickle.dumps(m, proto) def test_main(): |