tests/test_message.py: Fix pypy test failures

Fix pypy test failures caused by fact that error message for
ZeroDivisionError in pypy is slightly different from one in CPython