fixed Wformat warnings
Merge pull request #1092 from BytesGalore/fix_print_format_warnings_test_thread_msg

test:test_thread_msg fixed Wformat warnings