[TxMt] Re: odd pymate output bug

Jacob Rus jrus at hcs.harvard.edu
Thu Nov 2 02:27:50 UTC 2006


Bill Bumgarner wrote:
> I have a simple testing harness written in Python.   Internally, it uses 
> the Python unittest module.
> 
> When I hit cmd-r to run the testing scripting, pymate is eating the 
> output from the test run *unless* I "print" at least a single newline 
> prior to the TestCases' invocation.
> 
> Anyone seen this before?   The workaround is trivial -- add a bare 
> 'print' statement prior to passing control to the tests.

IMO, pymate could use some reworking.  It would be nice to bring it up 
to using Soryu's nice css, and putting some hyperlinks in tracebacks to 
the lines with errors, etc.  I am unfortunately not very interested in 
working on it any time in the near future (like the next couple of 
months at least), but it might be valuable to have a discussion on this 
list about the best way to architect a new pymate, and maybe a more 
general framework for these script runner commands, which are useful in 
many many languages.

-Jacob




More information about the textmate mailing list