[pypy-svn] r47877 - pypy/dist/pypy/lang/smalltalk/test
tverwaes at codespeak.net
tverwaes at codespeak.net
Thu Oct 25 00:22:10 CEST 2007
Author: tverwaes
Date: Thu Oct 25 00:22:10 2007
New Revision: 47877
Modified:
pypy/dist/pypy/lang/smalltalk/test/test_miniimage.py
Log:
works for positive smallints
Modified: pypy/dist/pypy/lang/smalltalk/test/test_miniimage.py
==============================================================================
--- pypy/dist/pypy/lang/smalltalk/test/test_miniimage.py (original)
+++ pypy/dist/pypy/lang/smalltalk/test/test_miniimage.py Thu Oct 25 00:22:10 2007
@@ -92,7 +92,7 @@
amethod = w_smallint_class.lookup("abs")
# First literal of the abs method is
# a real smalltalk int
- w_frame = amethod.createFrame(amethod.literals[0], [])
+ w_frame = amethod.createFrame(sqm.W_SmallInteger(10), [])
interp.activeContext = w_frame
print amethod
More information about the Pypy-commit
mailing list