summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnssi Kääriäinen <akaariai@gmail.com>2013-11-27 19:43:37 +0200
committerAnssi Kääriäinen <akaariai@gmail.com>2013-11-27 19:45:47 +0200
commit01e8ac47b37ccf1b4d9b9710ae2d9b6b486c3c7a (patch)
tree5fc45ef431c5dec261a80d111c536e083d078407
parentf450bc9f44bc1270eae911daa157c155c29d1d9d (diff)
PEP-8 cleanup
Refs #21169
-rw-r--r--tests/custom_managers/models.py1
-rw-r--r--tests/custom_managers/tests.py1
2 files changed, 1 insertions, 1 deletions
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(