On Monday, May 4, 2020 at 12:57:49 PM UTC-5, Edward K. Ream wrote:
The problem is likely on my end. I see your work on the commands2 branch on
> the github branches page.
>
I installed your code by hand in the commands branch (not pushed yet).
Using @g.command_method on do define the 'undo' and 'redo' commands in
leoUndo.py passes pylint tests. Alas, a unit test fails:
ERROR: runTest (leo.core.leoTest.GeneralTestCase)
@test clone-marked-nodes
----------------------------------------------------------------------
Traceback (most recent call last):
File "c:\leo.repo\leo-editor\leo\core\leoTest.py", line 308, in runTest
exec(compile(script, scriptFile, 'exec'), d)
File "C:/leo.repo/leo-editor/leo/test/scriptFile.py", line 20, in <module>
test(p)
File "C:/leo.repo/leo-editor/leo/test/scriptFile.py", line 15, in test
c.undoer.undo()
File "c:\leo.repo\leo-editor\leo\core\leoGlobals.py", line 203, in
inner_wrapper
instance = getinst(c)
TypeError: 'NoneType' object is not callable
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/leo-editor/39bd7b6f-e527-4fc4-a4c3-346e624a8d0a%40googlegroups.com.