[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ZopePublication/tests - testZopePublication.py:1.10

Jeremy Hylton jeremy@zope.com
Wed, 17 Jul 2002 12:54:52 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/ZopePublication/tests
In directory cvs.zope.org:/tmp/cvs-serv5906/lib/python/Zope/App/ZopePublication/tests

Modified Files:
	testZopePublication.py 
Log Message:
Simplify test_suite() implementations when there is only one class.


=== Zope3/lib/python/Zope/App/ZopePublication/tests/testZopePublication.py 1.9 => 1.10 ===
         self.v = v
 
 def test_suite():
-    t1 = unittest.makeSuite(ZopePublicationTests, 'test')
-    return unittest.TestSuite((t1, ))
+    return unittest.makeSuite(ZopePublicationTests, 'test')
 
 if __name__=='__main__':
     unittest.TextTestRunner().run( test_suite() )