mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Refs #23919 -- Removed unneeded force_str calls
This commit is contained in:
@@ -217,13 +217,9 @@ class UtilsTests(SimpleTestCase):
|
||||
("History", None)
|
||||
)
|
||||
|
||||
self.assertEqual(
|
||||
label_for_field("__unicode__", Article),
|
||||
"article"
|
||||
)
|
||||
self.assertEqual(
|
||||
label_for_field("__str__", Article),
|
||||
str("article")
|
||||
"article"
|
||||
)
|
||||
|
||||
with self.assertRaises(AttributeError):
|
||||
|
||||
Reference in New Issue
Block a user