[Zope3-checkins] CVS: Zope/lib/python/persistent/tests -
test_overriding_attrs.py:1.4
Jeremy Hylton
jeremy at zope.com
Tue Mar 2 17:17:44 EST 2004
Update of /cvs-repository/Zope/lib/python/persistent/tests
In directory cvs.zope.org:/tmp/cvs-serv11713
Modified Files:
test_overriding_attrs.py
Log Message:
int->bool affects doctest
=== Zope/lib/python/persistent/tests/test_overriding_attrs.py 1.3 => 1.4 ===
--- Zope/lib/python/persistent/tests/test_overriding_attrs.py:1.3 Thu Feb 19 13:13:34 2004
+++ Zope/lib/python/persistent/tests/test_overriding_attrs.py Tue Mar 2 17:17:43 2004
@@ -48,7 +48,7 @@
>>> o._p_oid
>>> o._p_jar
>>> o.spam
- ('SPAM', 0)
+ ('SPAM', False)
>>> o.spam = 1
>>> o.spam
1
@@ -65,7 +65,7 @@
And now, if we ask for an attribute it doesn't have,
>>> o.eggs
- ('EGGS', 0)
+ ('EGGS', False)
And we see that the object was activated before calling the
__getattr__ method.
More information about the Zope3-Checkins
mailing list