summaryrefslogtreecommitdiff
path: root/tests/m2m_and_m2o/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/m2m_and_m2o/tests.py')
-rw-r--r--tests/m2m_and_m2o/tests.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/m2m_and_m2o/tests.py b/tests/m2m_and_m2o/tests.py
index 0380ad4b08..646212bf4f 100644
--- a/tests/m2m_and_m2o/tests.py
+++ b/tests/m2m_and_m2o/tests.py
@@ -74,7 +74,7 @@ class RelatedObjectTests(TestCase):
lambda i: i.num
)
-class RelatedObjectTests(TestCase):
+class RelatedObjectUnicodeTests(TestCase):
def test_m2m_with_unicode_reference(self):
"""
Regression test for #6045: references to other models can be unicode
@@ -85,4 +85,3 @@ class RelatedObjectTests(TestCase):
m2.others.add(m1) # used to cause an error (see ticket #6045)
m2.save()
list(m2.others.all()) # Force retrieval.
-