diff --git a/tests/custom_managers/models.py b/tests/custom_managers/models.py index 726ece7dab..238124a265 100644 --- a/tests/custom_managers/models.py +++ b/tests/custom_managers/models.py @@ -117,6 +117,7 @@ class FunPerson(models.Model): def __str__(self): return "%s %s" % (self.first_name, self.last_name) + @python_2_unicode_compatible class Book(models.Model): title = models.CharField(max_length=50) diff --git a/tests/custom_managers/tests.py b/tests/custom_managers/tests.py index 440274e0e0..437d75deea 100644 --- a/tests/custom_managers/tests.py +++ b/tests/custom_managers/tests.py @@ -448,7 +448,6 @@ class CustomManagerTests(TestCase): ) self.b1.authors.add(droopy) - # Check that the fun manager ONLY clears fun people. self.b1.authors(manager='fun_people').clear() self.assertQuerysetEqual(