tests: Fixed Python 3 tests

The print statement was obsolete anyway