Why is cc's python interpreter ignoring assert statement? any other alternative to purposely throw SIGABRT error for debugging purposes?

I had a working code in python and i placed assert(False) in between an arbitrary pair of lines. Still outputs correct answer in codechef interpreter although in my own interpreter it throws AssertionError.