ip: add python3 support to punt tests