Doctest fix for sphinx 1.2