mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Fixed #27857 -- Dropped support for Python 3.4.
This commit is contained in:
parent
a80903b711
commit
cfff2af02b
20 changed files with 37 additions and 116 deletions
|
@ -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>')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue