Avevo caricato in precedenza numerose versioni di codice che però non superavano il test10 per il timeout, continuando a caricare nuove versioni del codice non riuscivo a passare più alcun test. Ho quindi ricaricato una versione precedente che sul mio pc riusciva ad eseguire tutti i test (senza contare il tempo) e sulla vm passava tutti i test tranne il test10, ora però lo stesso codice mi dà problemi e non riesce a passare nemmeno un test.
test_01.py=90= in test01_example return self.do_test(starting_folder,destination, expected) destination = 'test01.out' expected = {'The absorbing garbage earns retina.'= 69, 'The alluring eel hops vacuum.'= 71, 'The aware feng upgrades pollution.'= 53, 'The black moonscape disapproves ape.'= 62, ...} self = starting_folder = 'test01' test_01.py=38= in do_test self.assertDictEqual(expected, result) E AssertionError= {'The[363 chars]'The daily dinner misspells imagination.'= 59,[325 chars]= 45} != {'The[363 chars]'The pointless land licks dirt.'= 57, 'The fer[324 chars]'= 0} E Diff is 946 characters long. Set self.maxDiff to None to see it. destination = 'test01.out' expected = {'The absorbing garbage earns retina.'= 69, 'The alluring eel hops vacuum.'= 71, 'The aware feng upgrades pollution.'= 53, 'The black moonscape disapproves ape.'= 62, ...} program = result = {'The absorbing garbage earns retina.'= 69, 'The alluring eel hops vacuum.'= 71, 'The aware feng upgrades pollution.'= 53, 'The black moonscape disapproves ape.'= 62, ...} self = starting_folder = 'test01'
Come detto, se eseguo il codice dal mio pc, funziona tutto senza problemi, ma qui mi dà questo errore