mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #27857 -- Dropped support for Python 3.4.
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import os
|
||||
import sys
|
||||
import unittest
|
||||
from io import StringIO
|
||||
from unittest import mock
|
||||
@@ -684,9 +683,6 @@ class HTMLEqualTests(SimpleTestCase):
|
||||
error_msg = (
|
||||
"First argument is not valid HTML:\n"
|
||||
"('Unexpected end tag `div` (Line 1, Column 6)', (1, 6))"
|
||||
) if sys.version_info >= (3, 5) else (
|
||||
"First argument is not valid HTML:\n"
|
||||
"Unexpected end tag `div` (Line 1, Column 6), at line 1, column 7"
|
||||
)
|
||||
with self.assertRaisesMessage(AssertionError, error_msg):
|
||||
self.assertHTMLEqual('< div></ div>', '<div></div>')
|
||||
|
||||
Reference in New Issue
Block a user