Kaydet (Commit) 5a4d7e63 authored tarafından Claude Paroz's avatar Claude Paroz

Fixed #18027 -- Removed an HTMLParser test that doesn't raise any more in recent…

Fixed #18027 -- Removed an HTMLParser test that doesn't raise any more in recent Python versions. Thanks Arfever and Anssi Kaariainen for the report and the patch.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17900 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 632b6a1a
......@@ -422,8 +422,6 @@ class HTMLEqualTests(TestCase):
self.assertHTMLEqual('', '<p>')
with self.assertRaises(HTMLParseError):
parse_html('</p>')
with self.assertRaises(HTMLParseError):
parse_html('<!--')
def test_contains_html(self):
response = HttpResponse('''<body>
......
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