[Zope3-checkins] CVS: Zope3/src/zodb/code/tests - test_class.py:1.8 test_module.py:1.10 test_patch.py:1.5

Albertas Agejevas alga@codeworks.lt
Thu, 13 Mar 2003 13:49:28 -0500


Update of /cvs-repository/Zope3/src/zodb/code/tests
In directory cvs.zope.org:/tmp/cvs-serv1411/src/zodb/code/tests

Modified Files:
	test_class.py test_module.py test_patch.py 
Log Message:
An unexpected raid by the Whitespace Police.

Other than fixes of nonconforming whitespace, just a couple of $Id$
docstrings has been added.



=== Zope3/src/zodb/code/tests/test_class.py 1.7 => 1.8 ===
--- Zope3/src/zodb/code/tests/test_class.py:1.7	Tue Feb 18 09:53:00 2003
+++ Zope3/src/zodb/code/tests/test_class.py	Thu Mar 13 13:48:57 2003
@@ -110,7 +110,7 @@
     update_in_place1 = """class Foo:
     def meth(self, arg):
         return arg * 3""" "\n"
-    
+
     update_in_place2 = """class Foo:
     def meth(self, arg):
         return arg + 3""" "\n"
@@ -147,7 +147,7 @@
         return arg // 2""" "\n"
 
     child = """import parent
-    
+
 class Bar(parent.Foo):
     def meth(self, arg):
         return super(Bar, self).meth(arg) + 5""" "\n"
@@ -161,7 +161,7 @@
         self.registry.updateModule("parent", self.parent2)
         get_transaction().commit()
         self.assertEqual(child.Bar().meth(3), 3//2+5)
-        
+
         Bar = self._load_name("child.Bar")
         self.assertEqual(Bar().meth(3), 3//2+5)
 
@@ -193,6 +193,6 @@
 
         Foo = self._load_name("parent.Foo")
         self.assertEqual(Foo.attr, 2)
-        
+
 def test_suite():
     return unittest.makeSuite(TestClass)


=== Zope3/src/zodb/code/tests/test_module.py 1.9 => 1.10 ===
--- Zope3/src/zodb/code/tests/test_module.py:1.9	Wed Mar  5 17:43:14 2003
+++ Zope3/src/zodb/code/tests/test_module.py	Thu Mar 13 13:48:57 2003
@@ -125,11 +125,11 @@
         # modified.  need to figure out what is going wrong, but for
         # now just abort the transaction.
         ##assert not cn._registered
-        get_transaction().abort()                    
+        get_transaction().abort()
         cn.close()
 
 class TestModule(TestBase):
-    
+
     def testModule(self):
         self.registry.newModule("pmtest", open(self._pmtest).read())
         get_transaction().commit()


=== Zope3/src/zodb/code/tests/test_patch.py 1.4 => 1.5 ===
--- Zope3/src/zodb/code/tests/test_patch.py:1.4	Tue Jan 28 14:23:44 2003
+++ Zope3/src/zodb/code/tests/test_patch.py	Thu Mar 13 13:48:57 2003
@@ -22,7 +22,7 @@
         # verify obvious facts of object identity
         self.assert_(atestmodule.Bar is atestmodule.Sub.__bases__[0])
         self.assert_(atestmodule.aFunc is atestmodule.foo[0])
-        
+
         moddict = atestmodule.__dict__
         convert(atestmodule, {})
         newdict = atestmodule.__dict__