mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-devtest
synced 2026-01-15 10:23:32 +01:00
devtest.os.test.test.py: Rename to main.my
Renaming test.test.py to main.py, since Python apparently has a problem if file names equal module names. This has worked up until Python 3.8. Python 3.10, however, considers get_console unknown after "from devtest.os.test import *", and "from devtest.os.test import get_console" raises ImportError: cannot import name 'get_console' from partially initialized module 'devtest.os.test' (most likely due to a circular import) (/home/user/local/src/jw.dev/jw-devtest/src/python/devtest/os/test/__init__.py) Solved by renaming test/test.py to test/main.py. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
b4bbe7bc9a
commit
e7d2abedf0
1 changed files with 0 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue