mirror of
https://github.com/django/django.git
synced 2025-06-08 13:09:13 +00:00
[1.4.X] 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.
Backport of r17900 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.4.X@17901 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ee43524e22
commit
3f77b84489
@ -422,8 +422,6 @@ class HTMLEqualTests(TestCase):
|
|||||||
self.assertHTMLEqual('', '<p>')
|
self.assertHTMLEqual('', '<p>')
|
||||||
with self.assertRaises(HTMLParseError):
|
with self.assertRaises(HTMLParseError):
|
||||||
parse_html('</p>')
|
parse_html('</p>')
|
||||||
with self.assertRaises(HTMLParseError):
|
|
||||||
parse_html('<!--')
|
|
||||||
|
|
||||||
def test_contains_html(self):
|
def test_contains_html(self):
|
||||||
response = HttpResponse('''<body>
|
response = HttpResponse('''<body>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user