[Zope3-checkins] SVN: zope.testing/branches/3.8/ Downgraded the zope.testing.doctest deprecation warning into a

Marius Gedminas marius at pov.lt
Tue Jan 26 07:38:46 EST 2010


Log message for revision 108510:
  Downgraded the zope.testing.doctest deprecation warning into a
  PendingDeprecationWarning.
  
  It's silly to emit DeprecationWarnings when the test runner itself depends
  on the deprecated module.  Attempts to fix that present in zope.testing's
  trunk are so far incomplete (e.g. zope.testing.renormalizing still triggers
  it).
  
  

Changed:
  U   zope.testing/branches/3.8/CHANGES.txt
  U   zope.testing/branches/3.8/src/zope/testing/doctest.py

-=-
Modified: zope.testing/branches/3.8/CHANGES.txt
===================================================================
--- zope.testing/branches/3.8/CHANGES.txt	2010-01-26 12:34:46 UTC (rev 108509)
+++ zope.testing/branches/3.8/CHANGES.txt	2010-01-26 12:38:45 UTC (rev 108510)
@@ -4,7 +4,8 @@
 3.8.7 (unreleased)
 ==================
 
-- Nothing changed yet.
+- Downgraded the zope.testing.doctest deprecation warning into a
+  PendingDeprecationWarning.
 
 
 3.8.6 (2009-12-23)

Modified: zope.testing/branches/3.8/src/zope/testing/doctest.py
===================================================================
--- zope.testing/branches/3.8/src/zope/testing/doctest.py	2010-01-26 12:34:46 UTC (rev 108509)
+++ zope.testing/branches/3.8/src/zope/testing/doctest.py	2010-01-26 12:38:45 UTC (rev 108510)
@@ -107,7 +107,7 @@
 
 # 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,
+              'the Python standard library doctest module', PendingDeprecationWarning,
                stacklevel=2)
 
 class UnusedFootnoteWarning(Warning):



More information about the Zope3-Checkins mailing list