From 85c71ae88201bb59d71cfe600d70349173cec67a Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 19 Feb 2012 19:16:47 -0500 Subject: fix test now that staticmethod and classmethod are bigger --- Lib/test/test_sys.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 527e762..f065bf7 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -742,9 +742,9 @@ class SizeofTest(unittest.TestCase): def bar(cls): pass # staticmethod - check(foo, size(h + 'P')) + check(foo, size(h + 'PP')) # classmethod - check(bar, size(h + 'P')) + check(bar, size(h + 'PP')) # generator def get_gen(): yield 1 check(get_gen(), size(h + 'Pi2P')) -- cgit v0.12