I think I saw the same thing doing Alt-4 in the unitTest.leo file, but my screen saver had fired off in the middle of the tests, and I attributed it to an errant extra mouse click, since when I lengthened the screen saver timeout and the test ran uninterrupted, the problem did not recur. If you're seeing it repeatably, then you've got something different.
- Stephen On Apr 4, 4:49 pm, "Kayvan A. Sylvan" <[EMAIL PROTECTED]> wrote: > Hi fellow Leo enthusiasts, > > I am playing with unit testing some of my python code. > > I created two buttons: test and run-all-tests. The code is as follows: > > === test === > import leoTest > leoTest.doTests(c, all=False) > === end test === > > === run-all-tests === > import leoTest > leoTest.doTests(c, all=True) > === end run-all-tests === > > The "test" button works as expected, but run-all-tests produces > the following output in the Log pane: > > exception executing script > AttributeError: 'NoneType' object has no attribute 'v' > -------------------- > line 1270: return ( > * line 1271: p1.v == p2.v and > line 1272: p1.stack == p2.stack and > line 1273: p1.childIndex() == p2.childIndex()) > > I am running the latest code from bzr. > > ---Kayvan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to leo-editor@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---