python 3 works except one test