[issue1704474] optparse tests fail under Jython

Christian Hudon report at bugs.python.org
Tue Apr 15 16:50:58 CEST 2014


Christian Hudon added the comment:

Actually, the only optparse test failing on jython 2.7 beta 1 currently is the one that relies on sys.getrefcount. Adding a test_support.impl_detail() guard makes all the tests pass. (See attached patch.)

I'd propose adding this patch to both the python3 and python2 tips, as it would make the life of other, non-cpython implementations easier, and then closing this bug.

----------
Added file: http://bugs.python.org/file34874/jython.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1704474>
_______________________________________


More information about the Python-bugs-list mailing list