[pypy-commit] pypy default: add an assert

fijal noreply at buildbot.pypy.org
Wed Jul 11 18:21:12 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
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()


More information about the pypy-commit mailing list