[pypy-dev] gettrace?

Amaury Forgeot d'Arc amauryfa at gmail.com
Wed Oct 5 22:21:32 CEST 2011


2011/10/5 Armin Rigo <arigo at tunes.org>:
> Indeed, sys.gettrace() and sys.getprofile() were added in Python 2.6,
> with proper unit tests in test_sys_settrace.py.  We should try to
> understand why this test didn't fail so far on PyPy...  Do we run it
> at all?  If not, it's kind of bad.

test_sys_settrace.py runs correctly,
but the function is named "set_and_retrieve_func"...
without the test_ prefix!

Fixed in revision 383ca802ba07, will fix in cpython as well.

-- 
Amaury Forgeot d'Arc


More information about the pypy-dev mailing list