fixes python3 test failure