[Python-checkins] cpython: fix test now that staticmethod and classmethod are bigger
benjamin.peterson
python-checkins at python.org
Mon Feb 20 01:16:52 CET 2012
http://hg.python.org/cpython/rev/ecaf7ace5169
changeset: 75044:ecaf7ace5169
user: Benjamin Peterson <benjamin at python.org>
date: Sun Feb 19 19:16:47 2012 -0500
summary:
fix test now that staticmethod and classmethod are bigger
files:
Lib/test/test_sys.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -742,9 +742,9 @@
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'))
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list