mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.
This commit is contained in:
@@ -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à"
|
||||
|
||||
Reference in New Issue
Block a user