[Zope3-checkins] CVS: Zope3/src/zope/app/schemagen/tests - test_schemaspec.py:1.2.62.1

Jeremy Hylton jeremy at zope.com
Thu Feb 12 16:15:57 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/schemagen/tests
In directory cvs.zope.org:/tmp/cvs-serv27773

Modified Files:
      Tag: zope3-zodb3-devel-branch
	test_schemaspec.py 
Log Message:
remove unused local variable


=== Zope3/src/zope/app/schemagen/tests/test_schemaspec.py 1.2 => 1.2.62.1 ===
--- Zope3/src/zope/app/schemagen/tests/test_schemaspec.py:1.2	Wed Dec 25 09:13:15 2002
+++ Zope3/src/zope/app/schemagen/tests/test_schemaspec.py	Thu Feb 12 16:15:57 2004
@@ -201,12 +201,12 @@
         self.assertEquals(source, s.generateModuleSource())
 
     def test_generateModuleSourceNoHistory(self):
-        s = self.s
         # no history, so expect no setstate
         f = openInTests('setstatemodule_no_history.py.txt', 'r')
         source = f.read()
         f.close()
-        self.assertEquals(source.strip(), s.generateModuleSource().strip())
+        self.assertEquals(source.strip(),
+                          self.s.generateModuleSource().strip())
 
     def test_prepareSetstate(self):
         from zope.app.schemagen.schemaspec import prepareSetstate




More information about the Zope3-Checkins mailing list