Which build system are you using?
Press Ctrl + Shift + B and make sure you is running the first Python entry.
Not the Check Syntax one.
Then you just need to press Ctrl + B for the next tests.
Did you save the file before you built it?
thank u for reply guys
i fixed it