Raised @log_errors() test in python 3 and pypy