R
R
R.2017-05-24 15:13:03
Python
R., 2017-05-24 15:13:03

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!
c24e32e743684b7d83d869b646fc4f60.pngb48bcb4840b24435aaaa02910b76dca3.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anatoly Scherbakov, 2017-05-24
@Altaisoft

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 question

Ask a Question

731 491 924 answers to any question