summaryrefslogtreecommitdiff
path: root/tests/base
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2013-10-10 11:07:48 -0400
committerTim Graham <timograham@gmail.com>2013-10-10 11:09:42 -0400
commitadedc310729f7b1ca182b7b38d7d47550ae3e89d (patch)
tree89ae4ff6019d24d7ffb1e14ea3ae860c8522d31f /tests/base
parentcec11a3336c730e6dc2f1966fee749cc830e97c0 (diff)
Fixed "redefinition of unused 'foo' from line X" pyflakes warnings.
Diffstat (limited to 'tests/base')
-rw-r--r--tests/base/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/base/models.py b/tests/base/models.py
index 98d379337c..23efdf9d5b 100644
--- a/tests/base/models.py
+++ b/tests/base/models.py
@@ -20,6 +20,6 @@ class MyModel(six.with_metaclass(CustomBaseModel, models.Model)):
# still does not fail to create the model.
if six.PY2:
- class MyModel(models.Model):
+ class MyPython2Model(models.Model):
"""Model subclass with a custom base using __metaclass__."""
__metaclass__ = CustomBaseModel