Skip to content

Commit 35b7c9e

Browse files
committed
Update comments in test
1 parent 6b8280d commit 35b7c9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/input/func_model_does_not_use_unicode_py33.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Ensures that django models without a __unicode__ method are flagged
2+
Ensures that under PY3 django models with a __unicode__ method are flagged
33
"""
44
# pylint: disable=missing-docstring
55

@@ -8,7 +8,7 @@
88

99
class SomeModel(models.Model):
1010
something = models.CharField(max_length=255)
11-
# no __unicode__ method
11+
# no __str__ method
1212

1313
something.something_else = 1
1414

0 commit comments

Comments
 (0)