[issue10543] Test discovery (unittest) does not work with jython

2012-03-13 Thread Michael Foord
Michael Foord added the comment: Now fixed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10543] Test discovery (unittest) does not work with jython

2012-03-12 Thread Michael Foord
Michael Foord added the comment: Fixed in 2.7. Worth fixing in Python 3.2 / 3.2 anyway as sourceless distributions (bytecode only) are still possible. -- versions: +Python 3.2, Python 3.3 ___ Python tracker _

[issue10543] Test discovery (unittest) does not work with jython

2010-11-26 Thread Michael Foord
Michael Foord added the comment: Won't need fixing in 3.2. The __pycache__ changes mean that the module.__file__ no longer points to the compiled bytecode file. -- versions: -Python 3.2 ___ Python tracker __

[issue10543] Test discovery (unittest) does not work with jython

2010-11-26 Thread Michael Foord
Changes by Michael Foord : -- assignee: -> michael.foord components: +Library (Lib) type: -> behavior versions: +Python 2.7, Python 3.2 ___ Python tracker ___ _

[issue10543] Test discovery (unittest) does not work with jython

2010-11-26 Thread Michael Foord
New submission from Michael Foord : This is because jython creates bytecode files with names like "tests/testwith$py.class". unittest test discovery splits the extension off __file__ to compare module.__file__ to the expected path. -- messages: 122467 nosy: michael.foord priority: norm