doctest.vim doctest.vim (doctest) run Python's doctest asynchronously and record failures into the location-list of the window. Usage Execute :Doctest command on a window. Open a location-list with :lwindow. Press p to see the detail of the failure