Author: Maciej Fijalkowski <[email protected]>
Branch: 
Changeset: r56028:99d48fec1790
Date: 2012-07-11 18:20 +0200
http://bitbucket.org/pypy/pypy/changeset/99d48fec1790/

Log:    add an assert

diff --git a/pypy/jit/backend/x86/test/test_ztranslation.py 
b/pypy/jit/backend/x86/test/test_ztranslation.py
--- a/pypy/jit/backend/x86/test/test_ztranslation.py
+++ b/pypy/jit/backend/x86/test/test_ztranslation.py
@@ -185,7 +185,8 @@
             ll_times = jit_hooks.stats_get_loop_run_times()
             return len(ll_times)
 
-        self.meta_interp(main, [])
+        res = self.meta_interp(main, [])
+        assert res == 1
 
 class TestTranslationRemoveTypePtrX86(CCompiledMixin):
     CPUClass = getcpuclass()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to