From: <pj...@us...> - 2008-02-09 22:23:37
|
Revision: 4119 http://jython.svn.sourceforge.net/jython/?rev=4119&view=rev Author: pjenvey Date: 2008-02-09 14:23:34 -0800 (Sat, 09 Feb 2008) Log Message: ----------- make this more like the changeset for nose Modified Paths: -------------- trunk/jython/Lib/doctest.py Modified: trunk/jython/Lib/doctest.py =================================================================== --- trunk/jython/Lib/doctest.py 2008-02-09 21:40:55 UTC (rev 4118) +++ trunk/jython/Lib/doctest.py 2008-02-09 22:23:34 UTC (rev 4119) @@ -1361,7 +1361,7 @@ elif filename.endswith(".pyo"): filename = filename[:-1] elif filename.endswith('$py.class'): - filename = filename[:-9] + '.py' + filename = '%s.py' % filename[:-9] def runit(name=name, doc=doc, filename=filename, lineno=lineno): _utest(tester, name, doc, filename, lineno) suite.addTest(unittest.FunctionTestCase( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |