Try to fix doctests on Python 3