[Travis CI]: Deploy Fix python3 compat bug in test_messages

generated from commit 21da2ed36cf692eeb47a96eb71551f269963f01f