test: fix some error messages on tests

--HG--
branch : isidentical-py38-pytokenizer-fixes
2 jobs for branch/isidentical-py38-pytokenizer-fixes in 14 minutes and 14 seconds (queued for 3 seconds)
latest