﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26922	AttributeError in assert_and_parse_html on Python 3.5+	Dmitry Dygalo	Dmitry Dygalo	"I got this on Django 1.9 with Python 3.5:

{{{
    def assert_and_parse_html(self, html, user_msg, msg):
        try:
            dom = parse_html(html)
        except HTMLParseError as e:
>           standardMsg = '%s\n%s' % (msg, e.msg)
E           AttributeError: 'HTMLParseError' object has no attribute 'msg'
}}}


As I see it happens when input HTML is not valid (I tried with ""< div></ div>"")

PR: https://github.com/django/django/pull/6943"	Bug	closed	Testing framework	1.9	Normal	fixed			Accepted	1	0	0	0	0	0
