Skip to content

Commit

Permalink
!squash more
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Sep 8, 2022
1 parent 7858c21 commit f4e43fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pytest_sphinx.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ class SphinxDocTestRunner(doctest.DebugRunner):
def _DocTestRunner__run(
self, test: doctest.DocTest, compileflags: int, out: "_Out"
) -> doctest.TestResults:

"""
Run the examples in `test`.
Expand Down Expand Up @@ -430,8 +429,7 @@ def _DocTestRunner__run(
exception = sys.exc_info()
self.debugger.set_continue() # ==== Example Finished ====

# the actual output
got = self._fakeout.getvalue()
got = self._fakeout.getvalue() # the actual output
self._fakeout.truncate(0)
outcome = FAILURE # guilty until proved innocent or insane

Expand Down

0 comments on commit f4e43fb

Please sign in to comment.