Please ignore secret bonuses. Secret tests do NOT award bonus. Max hw grade is 30+2 bonus efficiency

Do you need help?

Non riesco a far girare i test in Anaconda

G
GianfrancoLeone (410 points)
4 11 17
in Es1 by (410 points)
closed by

Professore,

nonostante abbia seguito le istruzioni, non riesco a far girare i test in Anaconda.

Anzi, nonostante abbia eseguito i comandi 

  • conda install -c conda-forge ddt
  • conda install pytest-timeout
Da Anaconda ricevo il messaggio: ModuleNotFoundError: No module named 'ddt'.
Va bene se domani porto il mio PC al ricevimento professori e verifichiamo dove sbaglio?
Grazie
Gianfranco
499 views
closed with the note: risolto

2 Answers

Best answer
andrea.sterbini (208020 points)
756 1270 2377
by (208k points)

Risolto, in windows il comando python test_01.py non fa output e bisogna usare il comando

  • pytest -v --timeout 1 --durations 0 test_01.py
andrea.sterbini (208020 points)
756 1270 2377
by (208k points)
OK                          .
andrea.sterbini (208020 points)
756 1270 2377
by (208k points)
La didattica domani è annullata
verrai lo stesso?
andrea.sterbini (208020 points)
756 1270 2377
by (208k points)
Oppure possiamo provare con skype?