testsuite: Fix output for python3

Signed-off-by: Sol Jerome <sol.jerome@gmail.com>