Open shubote opened 1 year ago
run python3 -m unittest tests/test_*.py
The returned information is normal. Testing started at 10:56 ... Launching unittests with arguments python -m unittest 临时.TestCollage.test_bottom_hole_B1 in C:\Users\schubert\PycharmProjects\pythonProject1
Ran 1 test in 0.003s
OK
At the beginning, I was prompted to make a mistake. I found no answer to this mistake in many places. I hope the author can help me.
from photocollage import photocollage from PIL import Image
The following error occurred: Traceback (most recent call last): File "C:\Users\schubert\PycharmProjects\pythonProject1\33.py", line 1, in
from photocollage import photocollage
ImportError: cannot import name 'photocollage' from 'photocollage' (C:\Users\schubert\PycharmProjects\pythonProject1\venv\lib\site-packages\photocollage__init__.py)
I don't know what went wrong.