Log message for revision 74028: Fix stacklevel. Changed: U Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
-=- Modified: Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py =================================================================== --- Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py 2007-04-05 17:31:49 UTC (rev 74027) +++ Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py 2007-04-05 20:12:46 UTC (rev 74028) @@ -291,7 +291,7 @@ name = test_class.__name__ warnings.warn(("The test_class you are using doesn't " "subclass from ZopeTestCase.Functional. " - "Please fix that."), UserWarning, 2) + "Please fix that."), UserWarning, 4) if not 'Functional' in name: name = 'Functional%s' % name test_class = type(name, (Functional, test_class), {}) _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins