What directory are you running the tests from? Unless you set the right one using PYTHONPATH, you have to be in the *leo-editor* directory to be able to find *leo.core.xxx*, etc.
On Wednesday, May 22, 2024 at 1:52:35 PM UTC-4 Edward K. Ream wrote: > PR #3922 <https://github.com/leo-editor/leo-editor/pull/3922> significantly >> improves Leo's restart-leo command. The command now uses the command-line >> arguments in effect when Leo started. >> >> I have tested the latest version of Leo's devel branch in a dedicated >> Debian & Fedora VM. >> >> The command is working fine in both ! >> > > Thanks for your testing. > > However & FYI: When I run Leo's unit tests in both VMs I receive 43 >> identical / similar errors: >> > [snip] > >> File >> "/home/user/PyVE/GitHub/Leo/leo-editor/leo/external/npyscreen/wgwidget.py", >> line 21, in <module> >> from leo.core import leoGlobals as g >> ModuleNotFoundError: No module named 'leo' >> > > This looks like an installation problem. > > 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/0e620cce-8dba-4ad2-9b48-a2397bdb0490n%40googlegroups.com.