[Zope3-checkins] CVS: Zope3/src/zope/i18nmessageid - tests.py:1.2

Fred L. Drake, Jr. fred at zope.com
Thu Apr 15 10:44:03 EDT 2004


Update of /cvs-repository/Zope3/src/zope/i18nmessageid
In directory cvs.zope.org:/tmp/cvs-serv24670

Modified Files:
	tests.py 
Log Message:
- simplify
- use the right boilerplate for __name__ == "__main__"


=== Zope3/src/zope/i18nmessageid/tests.py 1.1 => 1.2 ===
--- Zope3/src/zope/i18nmessageid/tests.py:1.1	Fri Mar 19 07:00:05 2004
+++ Zope3/src/zope/i18nmessageid/tests.py	Thu Apr 15 10:44:01 2004
@@ -19,9 +19,7 @@
 from zope.testing.doctestunit import DocTestSuite
 
 def test_suite():
-    return unittest.TestSuite((
-        DocTestSuite('zope.i18nmessageid.messageid'),
-        ))
+    return DocTestSuite('zope.i18nmessageid.messageid')
 
 if __name__ == '__main__':
-    unittest.main()
+    unittest.main(defaultTest="test_suite")




More information about the Zope3-Checkins mailing list