summaryrefslogtreecommitdiff
path: root/tests/model_inheritance
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-11-19 15:33:22 -0500
committerTim Graham <timograham@gmail.com>2015-11-19 16:44:16 -0500
commit65764a9316b196006d4f0ee2cac773369805e56c (patch)
tree088b53b42eac7ee9c62f25dcf38fd8656c9ff56b /tests/model_inheritance
parentdb8763fb239137e9f750d26df221483a8ae5c97c (diff)
Renamed __unicode__() to __str__() in some test comments.
Diffstat (limited to 'tests/model_inheritance')
-rw-r--r--tests/model_inheritance/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/model_inheritance/tests.py b/tests/model_inheritance/tests.py
index 173166a754..336ddf3e15 100644
--- a/tests/model_inheritance/tests.py
+++ b/tests/model_inheritance/tests.py
@@ -19,7 +19,7 @@ from .models import (
class ModelInheritanceTests(TestCase):
def test_abstract(self):
# The Student and Worker models both have 'name' and 'age' fields on
- # them and inherit the __unicode__() method, just as with normal Python
+ # them and inherit the __str__() method, just as with normal Python
# subclassing. This is useful if you want to factor out common
# information for programming purposes, but still completely
# independent separate models at the database level.