call last): File "teste_primos.py", line 6, in test_menor_que_dois_nao_eh_primo self.assertFalse(eh_primo(1)) NameError: global name 'eh_primo' is not defined ---------------------------------------------------------------------- Ran 1 test in 0.000s FAILED (errors=1) Sunday, May 5, 2013
call last): File "teste_primos.py", line 11, in test_primos self.assertTrue(eh_primo(2)) AssertionError: None is not true ---------------------------------------------------------------------- Ran 2 tests in 0.000s FAILED (failures=1) Sunday, May 5, 2013