[web doctype test] don't give reset_xmldecl to avoid deprecation warning stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 02 Jul 2013 09:35:58 +0200
branchstable
changeset 9137 c791d8fddc15
parent 9136 eef0388e8fea
child 9138 bc6e25dbfd04
[web doctype test] don't give reset_xmldecl to avoid deprecation warning
web/test/unittest_views_baseviews.py
--- a/web/test/unittest_views_baseviews.py	Wed Jul 03 14:52:10 2013 +0200
+++ b/web/test/unittest_views_baseviews.py	Tue Jul 02 09:35:58 2013 +0200
@@ -144,7 +144,7 @@
         class MyView(StartupView):
             __regid__ = 'my-view'
             def call(self):
-                self._cw.set_doctype(html_doctype, reset_xmldecl=False)
+                self._cw.set_doctype(html_doctype)
                 self._cw.main_stream.set_htmlattrs([('lang', 'cz')])
 
         with self.temporary_appobjects(MyView):