Make passthrough.py doctests pass under Python 3