tests: fix python failing on travis