[Checkins] SVN: zope.error/trunk/s removed no longer necessary unittest cruft

Michael Howitz mh at gocept.com
Wed Feb 1 14:21:44 UTC 2012


Log message for revision 124270:
  removed no longer necessary unittest cruft

Changed:
  U   zope.error/trunk/setup.py
  U   zope.error/trunk/src/zope/error/tests.py

-=-
Modified: zope.error/trunk/setup.py
===================================================================
--- zope.error/trunk/setup.py	2012-02-01 11:03:46 UTC (rev 124269)
+++ zope.error/trunk/setup.py	2012-02-01 14:21:43 UTC (rev 124270)
@@ -60,7 +60,7 @@
                       ],
     extras_require=dict(
           test=[
-              'zope.testing',
+              'zope.testing >= 3.8',
               ]),
     include_package_data = True,
     zip_safe = False,

Modified: zope.error/trunk/src/zope/error/tests.py
===================================================================
--- zope.error/trunk/src/zope/error/tests.py	2012-02-01 11:03:46 UTC (rev 124269)
+++ zope.error/trunk/src/zope/error/tests.py	2012-02-01 14:21:43 UTC (rev 124270)
@@ -141,10 +141,4 @@
         self.assertEquals(username, r"unauthenticated, \xe1, \xe1, \xe1")
 
 
-def test_suite():
-    return unittest.TestSuite((
-        unittest.makeSuite(ErrorReportingUtilityTests),
-        ))
 
-if __name__ == '__main__':
-    unittest.main(defaultTest='test_suite')



More information about the checkins mailing list