summaryrefslogtreecommitdiff
path: root/tests/base
diff options
context:
space:
mode:
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