[Zope-Checkins]
SVN: Zope/branches/2.10/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
Fix stacklevel.
Stefan H. Holek
stefan at epy.co.at
Thu Apr 5 16:13:17 EDT 2007
Log message for revision 74029:
Fix stacklevel.
Changed:
U Zope/branches/2.10/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
-=-
Modified: Zope/branches/2.10/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py
===================================================================
--- Zope/branches/2.10/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py 2007-04-05 20:12:46 UTC (rev 74028)
+++ Zope/branches/2.10/lib/python/Testing/ZopeTestCase/zopedoctest/functional.py 2007-04-05 20:13:17 UTC (rev 74029)
@@ -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