Author: Armin Rigo <ar...@tunes.org>
Branch: reverse-debugger-updated
Changeset: r94557:2b804a3bfea0
Date: 2018-05-14 09:22 +0200
http://bitbucket.org/pypy/pypy/changeset/2b804a3bfea0/

Log:    Test fixes

diff --git a/rpython/rtyper/llinterp.py b/rpython/rtyper/llinterp.py
--- a/rpython/rtyper/llinterp.py
+++ b/rpython/rtyper/llinterp.py
@@ -1237,6 +1237,18 @@
         raise NotImplementedError
     def op_revdb_call_destructor(self, *args):
         raise NotImplementedError
+    def op_revdb_strtod(self, *args):
+        raise NotImplementedError
+    def op_revdb_frexp(self, *args):
+        raise NotImplementedError
+    def op_revdb_modf(self, *args):
+        raise NotImplementedError
+    def op_revdb_dtoa(self, *args):
+        raise NotImplementedError
+    def op_revdb_do_next_call(self, *args):
+        raise NotImplementedError
+    def op_revdb_set_thread_breakpoint(self, *args):
+        raise NotImplementedError
 
 
 class Tracer(object):
diff --git a/rpython/rtyper/lltypesystem/test/test_ztranslated.py 
b/rpython/rtyper/lltypesystem/test/test_ztranslated.py
--- a/rpython/rtyper/lltypesystem/test/test_ztranslated.py
+++ b/rpython/rtyper/lltypesystem/test/test_ztranslated.py
@@ -65,7 +65,8 @@
 def test_compiled_semispace():
     fn = compile(main, [], gcpolicy="semispace")
     res = fn()
-    assert res == 42    # get_raw_address_of_string() raises ValueError
+    # get_raw_address_of_string() never raise ValueError any more
+    assert res == 0
 
 def test_compiled_boehm():
     fn = compile(main, [], gcpolicy="boehm")
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to