Author: Philip Jenvey <pjen...@underboss.org> Branch: Changeset: r65495:8462ed51bff9 Date: 2013-07-19 18:15 -0700 http://bitbucket.org/pypy/pypy/changeset/8462ed51bff9/
Log: this eq_w doesn't seem necessary any longer and is broken (doesn't try is_w first) diff --git a/pypy/tool/pytest/appsupport.py b/pypy/tool/pytest/appsupport.py --- a/pypy/tool/pytest/appsupport.py +++ b/pypy/tool/pytest/appsupport.py @@ -277,7 +277,3 @@ except py.test.raises.Exception, e: e.tbindex = getattr(e, 'tbindex', -1) - 1 raise - -def eq_w(space, w_obj1, w_obj2): - """ return interp-level boolean of eq(w_obj1, w_obj2). """ - return space.is_true(space.eq(w_obj1, w_obj2)) diff --git a/pypy/tool/pytest/objspace.py b/pypy/tool/pytest/objspace.py --- a/pypy/tool/pytest/objspace.py +++ b/pypy/tool/pytest/objspace.py @@ -37,7 +37,6 @@ space.setitem(space.builtin.w_dict, space.wrap('skip'), space.wrap(appsupport.app_skip)) space.raises_w = appsupport.raises_w.__get__(space) - space.eq_w = appsupport.eq_w.__get__(space) return space _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit