[Zope-Checkins]
SVN: Zope/trunk/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
Fix stacklevel.
Stefan H. Holek
stefan at epy.co.at
Thu Apr 5 16:12:47 EDT 2007
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), {})
More information about the Zope-Checkins
mailing list