• Check fail but "direct execution" succeed

 

I would like to give some feedback about ...

From: http://www.checkio.org/mission/pawn-brotherhood/solve/

HTTP_USER_AGENT:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/601.3.9 (KHTML, like Gecko) Version/9.0.2 Safari/601.3.9

I have tried a version. This one succeed when I use the suggested assert. But it doesn’t work with the check environment.

It prints: Your result: 0 Right result: 6 Fail: safe_pawns({"b4","d4","f4","c3","e3","g5","d2"})

But when I run this command on the shell (with a try or on my environment) I get 6 as expected… I am sure that I miss something, unfortunately I didn’t see what…

Any help?

JF

12