[Zope-Checkins] SVN: Zope/trunk/src/Products/Five/utilities/browser/tests/test_marker.py Adapt a doctest to changed semantics of the doctest vs. zope.testing.doctest module.

Hanno Schlichting hannosch at hannosch.eu
Tue Mar 30 13:02:53 EDT 2010


Log message for revision 110304:
  Adapt a doctest to changed semantics of the doctest vs. zope.testing.doctest module.
  

Changed:
  U   Zope/trunk/src/Products/Five/utilities/browser/tests/test_marker.py

-=-
Modified: Zope/trunk/src/Products/Five/utilities/browser/tests/test_marker.py
===================================================================
--- Zope/trunk/src/Products/Five/utilities/browser/tests/test_marker.py	2010-03-30 16:50:16 UTC (rev 110303)
+++ Zope/trunk/src/Products/Five/utilities/browser/tests/test_marker.py	2010-03-30 17:02:53 UTC (rev 110304)
@@ -49,7 +49,7 @@
 
     Try to add a marker interface that doesn't exist:
 
-      >>> view.update(('__builtin__.IFooMarker',), ())
+      >>> view.update(('__main__.IFooMarker',), ())
       Traceback (most recent call last):
       ...
       ComponentLookupError...
@@ -67,7 +67,7 @@
 
     And try again to add it to the object:
 
-      >>> view.update(('__builtin__.IFooMarker',), ())
+      >>> view.update(('__main__.IFooMarker',), ())
       >>> view.getAvailableInterfaceNames()
       []
       >>> view.getDirectlyProvidedNames()
@@ -75,7 +75,7 @@
 
     And remove it again:
 
-      >>> view.update((), ('__builtin__.IFooMarker',))
+      >>> view.update((), ('__main__.IFooMarker',))
       >>> view.getAvailableInterfaceNames()
       [...IFooMarker...]
       >>> view.getDirectlyProvidedNames()



More information about the Zope-Checkins mailing list