Stefan Behnel wrote: > It would be > really nice if the doctest module had a simple option that specified if the > doctests of a test suite are in Py2 or Py3 syntax, and then just did the right > thing under Py3 (and maybe also 2.6). I filed a feature request on this for now. http://bugs.python.org/issue3020 Stefan