I'm using python 2.7.1
I can duplicate your result with your script. But if you edit the script to:
if __name__ == "__main__": """docstring for main""" assert 1 == 2
I see a result of: (also attached) Assertion Error:
My expected behavior is the output your original script produces.
Thanks
On 27 Dec 2011, at 16:03, Monte Bel wrote:
I can duplicate your result with your script. But if you edit the script […] I see a result of […]
This is likely a limitation of the stack trace parser in the Python bundle.
Can you file an issue with https://github.com/textmate/python.tmbundle/issues about this?