Hello everyone!
When I try to run test file I get an error. How can I fix it?
P.s. I’ll add project structure and content of those two files in the comment bellow if you need it
Traceback (most recent call last): File "/Users/dzhamaluddinomarov/Documents/Coding/Python_Advanced/python_advanced/module_03_ci_culture_beginning/homework/hw1/tests/test_hello_world_with_day.py", line 3, in <module> from ..hello_word_with_day import app ImportError: attempted relative import with no known parent package
submitted by /u/Dzhama_Omarov
[link] [comments]
r/learnpython Hello everyone! When I try to run test file I get an error. How can I fix it? P.s. I’ll add project structure and content of those two files in the comment bellow if you need it Traceback (most recent call last): File “/Users/dzhamaluddinomarov/Documents/Coding/Python_Advanced/python_advanced/module_03_ci_culture_beginning/homework/hw1/tests/test_hello_world_with_day.py”, line 3, in <module> from ..hello_word_with_day import app ImportError: attempted relative import with no known parent package submitted by /u/Dzhama_Omarov [link] [comments]
Hello everyone!
When I try to run test file I get an error. How can I fix it?
P.s. I’ll add project structure and content of those two files in the comment bellow if you need it
Traceback (most recent call last): File "/Users/dzhamaluddinomarov/Documents/Coding/Python_Advanced/python_advanced/module_03_ci_culture_beginning/homework/hw1/tests/test_hello_world_with_day.py", line 3, in <module> from ..hello_word_with_day import app ImportError: attempted relative import with no known parent package
submitted by /u/Dzhama_Omarov
[link] [comments]