Skip to content

Commit 4ee9cd0

Browse files
committed
Update format of expected error messages for unicode test
the latest version of pylint expects the error messages in slightly different format.
1 parent 8ef9f22 commit 4ee9cd0

3 files changed

+2
-2
lines changed

test/input/func_model_does_not_use_unicode_py33.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from django.db import models
77

88

9-
class SomeModel(models.Model):
9+
class SomeModel(models.Model): # [model-has-unicode]
1010
something = models.CharField(max_length=255)
1111
# no __str__ method
1212

Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
model-has-unicode:9:SomeModel:Found __unicode__ method on model (SomeModel). Python3 uses __str__.

test/messages/func_model_does_not_use_unicode_py33.txt

-1
This file was deleted.

0 commit comments

Comments
 (0)