[Checkins] SVN: zope.component/tseaver-test_cleanup/ Remove redundant doctest.
Tres Seaver
cvs-admin at zope.org
Mon Jun 18 18:17:31 UTC 2012
Log message for revision 126960:
Remove redundant doctest.
Changed:
_U zope.component/tseaver-test_cleanup/
U zope.component/tseaver-test_cleanup/src/zope/component/tests/test_doctests.py
-=-
Modified: zope.component/tseaver-test_cleanup/src/zope/component/tests/test_doctests.py
===================================================================
--- zope.component/tseaver-test_cleanup/src/zope/component/tests/test_doctests.py 2012-06-18 18:17:23 UTC (rev 126959)
+++ zope.component/tseaver-test_cleanup/src/zope/component/tests/test_doctests.py 2012-06-18 18:17:27 UTC (rev 126960)
@@ -165,28 +165,7 @@
if interface is IComponentLookup:
return self.sitemanager
-def testNotBrokenWhenNoSiteManager():
- """Make sure that the adapter lookup is not broken, when no site manager
- is available.
- Both of those things emit `DeprecationWarnings`.
-
- >>> from zope.component.testing import setUp, tearDown
- >>> setUp()
- >>> I2(ob) #doctest: +NORMALIZE_WHITESPACE
- Traceback (most recent call last):
- ...
- TypeError: ('Could not adapt',
- <instance Ob>,
- <InterfaceClass zope.component.tests.test_doctests.I2>)
-
-
- >>> I2(ob, 42)
- 42
- >>> tearDown()
- """
-
-
def testNo__component_adapts__leakage():
"""
We want to make sure that an `adapts()` call in a class definition
More information about the checkins
mailing list