mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
parent
4bb70cbcc6
commit
321e94fa41
185 changed files with 1216 additions and 1528 deletions
|
@ -16,7 +16,7 @@ from django.utils.http import urlquote_plus
|
|||
class TestEncodingUtils(unittest.TestCase):
|
||||
def test_force_text_exception(self):
|
||||
"""
|
||||
Check that broken __unicode__/__str__ actually raises an error.
|
||||
Broken __unicode__/__str__ actually raises an error.
|
||||
"""
|
||||
class MyString(object):
|
||||
def __str__(self):
|
||||
|
@ -36,7 +36,7 @@ class TestEncodingUtils(unittest.TestCase):
|
|||
|
||||
def test_force_bytes_exception(self):
|
||||
"""
|
||||
Test that force_bytes knows how to convert to bytes an exception
|
||||
force_bytes knows how to convert to bytes an exception
|
||||
containing non-ASCII characters in its args.
|
||||
"""
|
||||
error_msg = "This is an exception, voilà"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue