From 1d8f1f1520946ad8a93f7730e950c3a07e7bad82 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Mon, 15 Dec 2008 19:52:59 +0100 Subject: [PATCH] Remove duplicate warning. --- sphinx/ext/doctest.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/sphinx/ext/doctest.py b/sphinx/ext/doctest.py index 58a724eb3..0ea840311 100644 --- a/sphinx/ext/doctest.py +++ b/sphinx/ext/doctest.py @@ -290,8 +290,6 @@ Doctest summary test = parser.get_doctest(code[0].code, {}, group.name, filename, code[0].lineno) if not test.examples: - self._out('WARNING: no examples in doctest block at ' - + filename + ', line %s\n' % code[0].lineno) continue for example in test.examples: # apply directive's comparison options