Do you need help?

Notice Board

Per partecipare al corso di Fondamenti di programmazione 2021-22 loggatevi e attivatelo nella vostra pagina dei corsi preferiti. A quel punto il corso appare nel menĂ¹ personale cliccando sul proprio avatar. Per i materiali degli anni precedenti seguite lo stesso metodo.

To join the Programming/Lab 2021-22 course, log-on and select it on the my courses page. It will appear on the personal menu of your avatar. For earlier years use the same method.

VIDEOLEZIONI DEL CORSO DI FONDAMENTI DI PROGRAMMAZIONE AA20-21

PROGRAMMING COURSE VIDEOCONFERENCES AY20-21

Trouble with testing HW2

a
amic1010 (1460 points)
1 2 5
in HW2 by (1.5k points)
recategorized by
When i attempt to run the test I get the message:

============================ no tests ran in 0.01s =============================

ERROR: file or directory not found: test_01.py

Maybe it has to do with the opening of the original folder?
103 views
closed

1 Answer

Best answer
gianluca5539 (9820 points)
3 6 44
by (9.8k points)
selected by
You have to open the terminal on the folder in which you have all the files, or instead of just giving test_01.py give it the path to that file (you can do that easily by dragging the file on the terminal, it will generate a path for you)
a
amic1010 (1460 points)
1 2 5
by (1.5k points)
Thank you, it works