[Zope3-checkins] SVN: zope.testing/trunk/ Deprecating zope.testing.testrunner in favour of zope.testrunner.

Lennart Regebro regebro at gmail.com
Wed Apr 28 02:16:52 EDT 2010


Log message for revision 111515:
  Deprecating zope.testing.testrunner in favour of zope.testrunner.
  

Changed:
  U   zope.testing/trunk/CHANGES.txt
  U   zope.testing/trunk/src/zope/testing/testrunner/__init__.py

-=-
Modified: zope.testing/trunk/CHANGES.txt
===================================================================
--- zope.testing/trunk/CHANGES.txt	2010-04-28 05:01:18 UTC (rev 111514)
+++ zope.testing/trunk/CHANGES.txt	2010-04-28 06:16:52 UTC (rev 111515)
@@ -4,7 +4,9 @@
 3.9.5 (Unreleased)
 ==================
 
-- ...
+- Deprecated zope.testing.testrunner. It has been copied to a separate
+  zope.testrunner module, and will be removed from zope.testing in 4.0.0,
+  together with zope.testing.doctest.
 
 3.9.4 (2010-04-13)
 ==================

Modified: zope.testing/trunk/src/zope/testing/testrunner/__init__.py
===================================================================
--- zope.testing/trunk/src/zope/testing/testrunner/__init__.py	2010-04-28 05:01:18 UTC (rev 111514)
+++ zope.testing/trunk/src/zope/testing/testrunner/__init__.py	2010-04-28 06:16:52 UTC (rev 111515)
@@ -19,6 +19,9 @@
 import sys
 import unittest
 
+import warnings
+warnings.warn('zope.testing.testrunner is deprecated in favour of '
+              'zope.testrunner.', DeprecationWarning, stacklevel=2)
 
 import zope.testing.testrunner.interfaces
 



More information about the Zope3-Checkins mailing list