From: Benjamin Peterson Date: Mon, 20 Feb 2012 00:16:47 +0000 (-0500) Subject: fix test now that staticmethod and classmethod are bigger X-Git-Tag: v3.3.0a1~134 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=85c71ae88201bb59d71cfe600d70349173cec67a;p=thirdparty%2FPython%2Fcpython.git fix test now that staticmethod and classmethod are bigger --- diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 527e76253e26..f065bf72e6cf 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'))