Skip to content

Commit bec095f

Browse files
committed
Update comments in test
1 parent 5bb7be2 commit bec095f

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

+2-2
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)