Commit 85c71ae8 authored by Benjamin Peterson's avatar Benjamin Peterson

fix test now that staticmethod and classmethod are bigger

parent c135fa42
......@@ -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'))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment