Author: fijal Branch: Changeset: r79934:bde66c2cf46f Date: 2015-10-02 15:39 +0200 http://bitbucket.org/pypy/pypy/changeset/bde66c2cf46f/
Log: kill useless test diff --git a/pypy/module/pypyjit/test/test_jit_hook.py b/pypy/module/pypyjit/test/test_jit_hook.py --- a/pypy/module/pypyjit/test/test_jit_hook.py +++ b/pypy/module/pypyjit/test/test_jit_hook.py @@ -213,22 +213,6 @@ self.on_abort() assert l == [('pypyjit', 'ABORT_TOO_LONG', [])] - def test_on_optimize(self): - import pypyjit - l = [] - - def hook(info): - l.append(info.jitdriver_name) - - def optimize_hook(info): - return [] - - pypyjit.set_compile_hook(hook) - pypyjit.set_optimize_hook(optimize_hook) - self.on_optimize() - self.on_compile() - assert l == ['pypyjit'] - def test_creation(self): from pypyjit import ResOperation _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit