Python 3 fix in sympy/utilities/runtests.py