Index: src/zope/testing/doctest/__init__.py
===================================================================
--- src/zope/testing/doctest/__init__.py	(revisione 107149)
+++ src/zope/testing/doctest/__init__.py	(copia locale)
@@ -108,11 +108,6 @@
 warnings.filterwarnings("ignore", "is_private", DeprecationWarning,
                         __name__, 0)
 
-# Tell people to use the builtin module instead.
-warnings.warn('zope.testing.doctest is deprecated in favour of '
-              'the Python standard library doctest module', DeprecationWarning,
-               stacklevel=2)
-
 class UnusedFootnoteWarning(Warning):
     """Warn about a footnote that is defined, but never referenced."""
 
@@ -2381,6 +2376,9 @@
        A set of doctest option flags expressed as an integer.
     """
 
+    warnings.warn('zope.testing.doctest is deprecated in favour of the Python '
+        'standard library doctest module', DeprecationWarning, stacklevel=2)
+
     if test_finder is None:
         test_finder = DocTestFinder()
 
@@ -2512,6 +2510,9 @@
     encoding
       An encoding that will be used to convert the files to unicode.
     """
+    warnings.warn('zope.testing.doctest is deprecated in favour of the Python '
+        'standard library doctest module', DeprecationWarning, stacklevel=2)
+
     suite = unittest.TestSuite()
 
     # We do this here so that _normalize_module is called at the right
