Answer the question
In order to leave comments, you need to log in
Python3: Why is the unit test not working?
Greetings!
I'm learning python3 and got as far as writing unit tests. Faced with the problem that the unit test does not start for some reason I do not understand. Tell me what is the problem
PyCharm says nothing at all. The console says there is no such module I am trying to import from.
Thank you in advance!
Answer the question
In order to leave comments, you need to log in
Try to put the file with the functions under test and the file with the test in the same folder. You are importing from the funcs_to_test module, but how does Python find it?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question