summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sys.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-02-20 00:16:47 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-02-20 00:16:47 (GMT)
commit85c71ae88201bb59d71cfe600d70349173cec67a (patch)
treebe60ce117ab42f7c8d73235d0c64b077a6908e43 /Lib/test/test_sys.py
parentc135fa424e768b78fae6ca997d8fe77a0d42447e (diff)
downloadcpython-85c71ae88201bb59d71cfe600d70349173cec67a.zip
cpython-85c71ae88201bb59d71cfe600d70349173cec67a.tar.gz
cpython-85c71ae88201bb59d71cfe600d70349173cec67a.tar.bz2
fix test now that staticmethod and classmethod are bigger
Diffstat (limited to 'Lib/test/test_sys.py')
-rw-r--r--Lib/test/test_sys.py4
1 files 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'))