projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c135fa4
)
fix test now that staticmethod and classmethod are bigger
author
Benjamin Peterson
<benjamin@python.org>
Mon, 20 Feb 2012 00:16:47 +0000
(19:16 -0500)
committer
Benjamin Peterson
<benjamin@python.org>
Mon, 20 Feb 2012 00:16:47 +0000
(19:16 -0500)
Lib/test/test_sys.py
patch
|
blob
|
history
diff --git
a/Lib/test/test_sys.py
b/Lib/test/test_sys.py
index 527e76253e2664553076b83904b4c452ca664ac0..f065bf72e6cf59513d2a78373feb81a10b4b2649 100644
(file)
--- 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 + 'P
P
'))
# classmethod
- check(bar, size(h + 'P'))
+ check(bar, size(h + 'P
P
'))
# generator
def get_gen(): yield 1
check(get_gen(), size(h + 'Pi2P'))