author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Wed, 05 Jan 2011 10:30:52 +0100 | |
branch | stable |
changeset 6774 | bd50a9c1514e |
parent 6773 | bba36f168919 |
child 6775 | b36fbdcc40a4 |
--- a/devtools/testlib.py Tue Jan 04 16:35:06 2011 +0100 +++ b/devtools/testlib.py Wed Jan 05 10:30:52 2011 +0100 @@ -789,7 +789,7 @@ validatorclass = self.content_type_validators.get(view.content_type, default_validator) if validatorclass is None: - return + return validator = validatorclass() if isinstance(validator, htmlparser.DTDValidator): # XXX remove <canvas> used in progress widget, unknown in html dtd