mirror of
https://github.com/django/django.git
synced 2025-11-01 12:25:37 +00:00
Fixed #21266 -- Fixed E201,E202 pep8 warnings.
This commit is contained in:
parent
42a67ec1cd
commit
83b9bfea44
35 changed files with 152 additions and 145 deletions
|
|
@ -76,11 +76,11 @@ class TestUtilsText(SimpleTestCase):
|
|||
truncator = text.Truncator('<br/>The <hr />quick brown fox jumped over'
|
||||
' the lazy dog.')
|
||||
self.assertEqual('<br/>The <hr />quick brown...',
|
||||
truncator.words(3, '...', html=True ))
|
||||
truncator.words(3, '...', html=True))
|
||||
truncator = text.Truncator('<br>The <hr/>quick <em>brown fox</em> '
|
||||
'jumped over the lazy dog.')
|
||||
self.assertEqual('<br>The <hr/>quick <em>brown...</em>',
|
||||
truncator.words(3, '...', html=True ))
|
||||
truncator.words(3, '...', html=True))
|
||||
|
||||
# Test html entities
|
||||
truncator = text.Truncator('<i>Buenos días!'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue