Commit a904f4f1 authored by 's avatar

- multisection has no 'dataype' (and no 'datatype') attribute

parent 2bc93839
......@@ -87,6 +87,7 @@ class TestWarnFilter(unittest.TestCase):
message .*test.*
</warnfilter>
""")
self.assertEqual(len(conf.warnfilters), 2)
self.assertRaises(TestSchemaWarning, self._dowarning1)
self.assertRaises(UserWarning, self._dowarning2)
......
......@@ -263,8 +263,7 @@
<!-- schema begins -->
<multisection type="warnfilter" attribute="warnfilters" name="*"
dataype="zLOG.warn_filter_handler">
<multisection type="warnfilter" name="*" attribute="warnfilters">
<!-- from zLOG -->
<description>
A multisection which allows a user to set up a Python "warning" filter.
......
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