[pypy-svn] r47963 - pypy/dist/pypy/lang/smalltalk/test

tverwaes at codespeak.net tverwaes at codespeak.net
Thu Oct 25 18:46:02 CEST 2007


Author: tverwaes
Date: Thu Oct 25 18:46:02 2007
New Revision: 47963

Modified:
   pypy/dist/pypy/lang/smalltalk/test/test_miniimage.py
Log:
(arigo, tverwaes) now the abs of -3 works using shadow methodlookup


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 18:46:02 2007
@@ -193,7 +193,6 @@
 
     w_object = model.W_SmallInteger(int)
 
-    # XXX
     # Should get this from w_object
     w_smallint_class = image.special(constants.SO_SMALLINTEGER_CLASS)
     w_method = w_smallint_class.lookup("abs")
@@ -220,9 +219,6 @@
             return e.object
 
 def test_lookup_neg_abs_in_integer():
-    #py.test.skip("TOFIX methodlookup 'negated' fails in shadow SmallInteger")
-    # Fails due to same reason because of which
-    # classmirror-methodlookup fails
     test_lookup_abs_in_integer(-3)
 
 def test_map_mirrors_to_classtable():



More information about the Pypy-commit mailing list