boB Stepp wrote: > In the cold light of morning, I see that in this invocation, the path > is wrong. But even if I correct it, I get the same results: > > e:\Projects\mcm>py -m unittest ./test/db/test_manager.py [...] > ValueError: Empty module name
Make sure that there are files ./test/__init__.py ./test/db/__init__.py and then try py -m unittest test.db.test_manager > e:\Projects\mcm>py ./test/db/test_manager.py > Traceback (most recent call last): > File "./test/db/test_manager.py", line 16, in <module> > import mcm.db.manager > ImportError: No module named 'mcm' Make sure the parent directory of the mcm package (I believe this is E:\Projects\mcm) is in your PYTHONPATH, then try again. _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: https://mail.python.org/mailman/listinfo/tutor