diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-03-08 09:04:22 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-03-08 09:04:22 (GMT) |
commit | 2d80fb39054a8bfcc5a00c9ddd5315a06757acde (patch) | |
tree | 41b0794704aa4d08d4db77a230f231bc054df856 /Lib | |
parent | 20c8cd997458b0313b2a13c94de0889a4a7f1c80 (diff) | |
download | cpython-2d80fb39054a8bfcc5a00c9ddd5315a06757acde.zip cpython-2d80fb39054a8bfcc5a00c9ddd5315a06757acde.tar.gz cpython-2d80fb39054a8bfcc5a00c9ddd5315a06757acde.tar.bz2 |
Issue #26486: Removed pickle test that doesn't work in 2.7 on 64-bit platform.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/pickletester.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py index a672580..855a9c4 100644 --- a/Lib/test/pickletester.py +++ b/Lib/test/pickletester.py @@ -1500,17 +1500,6 @@ class AbstractPickleTests(unittest.TestCase): self.assertEqual(len(loaded), len(data)) self.assertEqual(loaded, data) - def test_int_pickling_efficiency(self): - # Test compacity of int representation (see issue #12744) - for proto in protocols: - pickles = [self.dumps(2**n, proto) for n in xrange(0, 71, 5)] - sizes = list(map(len, pickles)) - # the size function is monotonic - self.assertEqual(sorted(sizes), sizes) - if proto >= 2: - for p in pickles: - self.assertFalse(opcode_in_pickle(pickle.LONG, p)) - def _check_pickling_with_opcode(self, obj, opcode, proto): pickled = self.dumps(obj, proto) self.assertTrue(opcode_in_pickle(opcode, pickled)) |