Make skipped test Python 3 compatible