commit | 03512c18cbf75f0a6c3703bf0141761841634c95 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Jun 14 01:06:33 2013 -0400 |
committer | Raymond Hettinger <python@rcn.com> | Fri Jun 14 01:06:33 2013 -0400 |
tree | 92ad1edc1a7866a24b0e936068c5f2151c6adc94 | |
parent | 16ce43a6d8c4f6e0da088c8bc68dbbbdbb2e9a36 [diff] [blame] |
Fix comment blocks. Adjust blocksize to a power-of-two for better divmod computations.
diff --git a/Lib/test/test_deque.py b/Lib/test/test_deque.py index 595a0c4..98b203e 100644 --- a/Lib/test/test_deque.py +++ b/Lib/test/test_deque.py
@@ -522,7 +522,7 @@ @test_support.cpython_only def test_sizeof(self): - BLOCKLEN = 62 + BLOCKLEN = 64 basesize = test_support.calcobjsize('2P4PlP') blocksize = struct.calcsize('2P%dP' % BLOCKLEN) self.assertEqual(object.__sizeof__(deque()), basesize)