Commit 5b304f82 authored by Stefan H. Holek's avatar Stefan H. Holek

Fix stacklevel.

parent 6c86ef62
......@@ -291,7 +291,7 @@ class FunctionalSuiteFactory(ZopeSuiteFactory):
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), {})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment