fix test now that staticmethod and classmethod are bigger

This commit is contained in:
Benjamin Peterson 2012-02-19 19:16:47 -05:00
parent c135fa424e
commit 85c71ae882
1 changed files with 2 additions and 2 deletions

View File

@ -742,9 +742,9 @@ class SizeofTest(unittest.TestCase):
def bar(cls): def bar(cls):
pass pass
# staticmethod # staticmethod
check(foo, size(h + 'P')) check(foo, size(h + 'PP'))
# classmethod # classmethod
check(bar, size(h + 'P')) check(bar, size(h + 'PP'))
# generator # generator
def get_gen(): yield 1 def get_gen(): yield 1
check(get_gen(), size(h + 'Pi2P')) check(get_gen(), size(h + 'Pi2P'))