commit | 73e9ffc811f71172ea17ea96cdc4bb1b74b58b47 | [log] [tgz] |
---|---|---|
author | Robert Schuppenies <okkotonushi@googlemail.com> | Fri Jun 13 13:29:37 2008 +0000 |
committer | Robert Schuppenies <okkotonushi@googlemail.com> | Fri Jun 13 13:29:37 2008 +0000 |
tree | 373044cb89757dd8167b534719a35225f32cf9af | |
parent | 60c0be3acd5ba11392bb4dac4baf97aad1eebde3 [diff] [blame] |
Fixed: sys.getsizeof does not take the actual length of the tuples into account.
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 4563374..2062838 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py
@@ -567,6 +567,9 @@ # string self.check_sizeof('', h + l + self.align(i + 1)) self.check_sizeof('abc', h + l + self.align(i + 1) + 3) + # tuple + self.check_sizeof((), h) + self.check_sizeof((1,2,3), h + 3*p) def test_main():