sphinx doctest fix