fix py3 test failing