[Zope3-checkins]
SVN: Zope3/branches/jim-adapter/src/zope/deferredimport/README.txt
Fix test; the message for the emitted warning had changed.
Philipp von Weitershausen
philikon at philikon.de
Thu Apr 6 18:09:24 EDT 2006
Log message for revision 66623:
Fix test; the message for the emitted warning had changed.
Changed:
U Zope3/branches/jim-adapter/src/zope/deferredimport/README.txt
-=-
Modified: Zope3/branches/jim-adapter/src/zope/deferredimport/README.txt
===================================================================
--- Zope3/branches/jim-adapter/src/zope/deferredimport/README.txt 2006-04-06 21:46:24 UTC (rev 66622)
+++ Zope3/branches/jim-adapter/src/zope/deferredimport/README.txt 2006-04-06 22:09:24 UTC (rev 66623)
@@ -296,15 +296,14 @@
>>> from zope.deferredimport import deprecatedModule
>>> deprecatedModule('deferredsample', 'zope.deferredimport',
- ... 'It is now available under zope.deferredimport.')
+ ... 'deferredsample has been renamed to zope.deferredimport.')
We can now import things from the "old" location:
>>> from deferredsample import deprecated
... doctest: +NORMALIZE_WHITESPACE
zope/deferredimport/README.txt:1: DeprecationWarning:
- zope.deferredimport is deprecated. It is now available
- under zope.deferredimport.
+ deferredsample has been renamed to zope.deferredimport.
Deferred Import
The deprecation warning won't be shown a second time:
More information about the Zope3-Checkins
mailing list