summaryrefslogtreecommitdiff
path: root/tests/admin_utils/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_utils/tests.py')
-rw-r--r--tests/admin_utils/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/admin_utils/tests.py b/tests/admin_utils/tests.py
index cbe6b8bb1d..0adee38afa 100644
--- a/tests/admin_utils/tests.py
+++ b/tests/admin_utils/tests.py
@@ -325,7 +325,7 @@ class UtilsTests(SimpleTestCase):
)
msg = "Unable to lookup 'nonexistent' on Article or ArticleForm"
with self.assertRaisesMessage(AttributeError, msg):
- label_for_field("nonexistent", Article, form=ArticleForm()),
+ label_for_field("nonexistent", Article, form=ArticleForm())
def test_label_for_property(self):
class MockModelAdmin: