summaryrefslogtreecommitdiff
path: root/tests/defer/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/defer/tests.py')
-rw-r--r--tests/defer/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/defer/tests.py b/tests/defer/tests.py
index b66b173f7a..266a851ffe 100644
--- a/tests/defer/tests.py
+++ b/tests/defer/tests.py
@@ -11,7 +11,7 @@ class DeferTests(TestCase):
count = 0
for field in obj._meta.fields:
if isinstance(obj.__class__.__dict__.get(field.attname),
- DeferredAttribute):
+ DeferredAttribute):
count += 1
self.assertEqual(count, num)