Author: Lars Wassermann <[email protected]>
Branch: 
Changeset: r391:9aacc7bd6402
Date: 2013-05-15 14:12 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/9aacc7bd6402/

Log:    readded someInstance, etc. tests

diff --git a/spyvm/plugins/vmdebugging.py b/spyvm/plugins/vmdebugging.py
--- a/spyvm/plugins/vmdebugging.py
+++ b/spyvm/plugins/vmdebugging.py
@@ -23,7 +23,7 @@
     if not we_are_translated():
         import pdb; pdb.set_trace()
     else:
-        print s_frame.print_stack()[1]
+        print s_frame.print_stack()
         print s_frame
         raise Exit('Halt is not well defined when translated.')
     return w_rcvr
diff --git a/spyvm/test/test_primitives.py b/spyvm/test/test_primitives.py
--- a/spyvm/test/test_primitives.py
+++ b/spyvm/test/test_primitives.py
@@ -616,14 +616,12 @@
     assert s_new_context.gettemp(2).as_string() == "some value"
 
 def test_primitive_some_instance():
-    py.test.skip('Takes too long.')
     import gc; gc.collect()
     someInstance = map(space.wrap_list, [[1], [2]])
     w_r = prim(primitives.SOME_INSTANCE, [space.w_Array])
     assert w_r.getclass(space) is space.w_Array
 
 def test_primitive_next_instance():
-    py.test.skip('Takes too long.')
     someInstances = map(space.wrap_list, [[2], [3]])
     from test_interpreter import new_frame
     w_frame, s_context = new_frame("<never called, but needed for method 
generation>",
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to