Author: Antonio Cuni <anto.c...@gmail.com> Branch: vmprof-0.4.10 Changeset: r92926:526d9b94882a Date: 2017-11-04 12:09 +0100 http://bitbucket.org/pypy/pypy/changeset/526d9b94882a/
Log: I claim that tests should NEVER fail silently; I think that test_native actually fails on linux, but the builtbot never noticed because vmprof is not installed. Probably this test will start failing because of missing vmprof, we'll think of a fix later diff --git a/rpython/rlib/rvmprof/test/test_rvmprof.py b/rpython/rlib/rvmprof/test/test_rvmprof.py --- a/rpython/rlib/rvmprof/test/test_rvmprof.py +++ b/rpython/rlib/rvmprof/test/test_rvmprof.py @@ -141,10 +141,6 @@ fn = compile(f, [], gcpolicy="minimark") assert fn() == 0 try: - import vmprof - except ImportError: - py.test.skip("vmprof unimportable") - else: check_profile(tmpfilename) finally: assert os.path.exists(tmpfilename) @@ -231,10 +227,6 @@ fn = compile(f, [], gcpolicy="incminimark", lldebug=True) assert fn() == 0 try: - import vmprof - except ImportError: - py.test.skip("vmprof unimportable") - else: check_profile(tmpfilename) finally: assert os.path.exists(tmpfilename) _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit