bugfix: print statement for python3 in test

Signed-off-by: Dominik Richter <dominik.richter@gmail.com>