[Zodb-checkins] CVS: ZODB/src/persistent/tests - test_overriding_attrs.py:1.1.2.3

Jeremy Hylton jeremy at zope.com
Fri Feb 13 23:38:55 EST 2004


Update of /cvs-repository/ZODB/src/persistent/tests
In directory cvs.zope.org:/tmp/cvs-serv11839

Modified Files:
      Tag: zope3-zodb3-devel-branch
	test_overriding_attrs.py 
Log Message:
Fix typos, and simplify test_suite().


=== ZODB/src/persistent/tests/test_overriding_attrs.py 1.1.2.2 => 1.1.2.3 ===
--- ZODB/src/persistent/tests/test_overriding_attrs.py:1.1.2.2	Thu Feb 12 23:12:07 2004
+++ ZODB/src/persistent/tests/test_overriding_attrs.py	Fri Feb 13 23:38:53 2004
@@ -195,7 +195,7 @@
            to handle some attributes and to make sure that the object
            is activated if necessary, and
 
-        2. Most set _p_changed to mark objects as changed.
+        2. Must set _p_changed to mark objects as changed.
 
         See the comments in the source below.
 
@@ -301,7 +301,7 @@
            to handle some attributes and to make sure that the object
            is activated if necessary, and
 
-        2. Most set _p_changed to mark objects as changed.
+        2. Must set _p_changed to mark objects as changed.
 
         See the comments in the source below.
 
@@ -396,12 +396,6 @@
             self._p_changed = 1
                     
 
-
 def test_suite():
-    import unittest
     from doctest import DocTestSuite
-    return unittest.TestSuite((
-        DocTestSuite(),
-        ))
-
-if __name__ == '__main__': unittest.main()
+    return DocTestSuite()




More information about the Zodb-checkins mailing list