Permalink
Browse files

add patch for sphinx

  • Loading branch information...
wearpants committed Jul 12, 2011
1 parent feebc20 commit fa61719aeddcc0173ba83bbaacb84d1fd2d440fc
Showing with 12 additions and 0 deletions.
  1. +12 −0 sphinx-1.0.7-doctest-fix.diff
@@ -0,0 +1,12 @@
--- sphinx/ext/doctest.py.bak 2011-07-12 17:47:17.442219796 -0500
+++ sphinx/ext/doctest.py 2011-07-12 17:50:41.312518817 -0500
@@ -265,6 +265,9 @@
optionflags=self.opt)
self.test_runner = SphinxDocTestRunner(verbose=False,
optionflags=self.opt)
+
+ self.test_runner._fakeout = self.setup_runner._fakeout
+
if self.config.doctest_test_doctest_blocks:
def condition(node):
return (isinstance(node, (nodes.literal_block, nodes.comment))

0 comments on commit fa61719

Please sign in to comment.