summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2008-10-13 14:38:36 +0200
committerEmile Anclin <emile.anclin@logilab.fr>2008-10-13 14:38:36 +0200
commit542ccd5cc53cd6f6c0a5da51c98211e206fa4ae5 (patch)
tree483a0ffb3be42785c8237b524aed755e965fa77f /test
parent795ac591b7a2eb6dbeb3bc91ea58a8cbbf7bd891 (diff)
downloadpylint-git-542ccd5cc53cd6f6c0a5da51c98211e206fa4ae5.tar.gz
correct raised test/messages
Diffstat (limited to 'test')
-rw-r--r--test/messages/2.5_func_newstyle_exceptions.txt4
-rw-r--r--test/messages/func_bad_assigment_to_exception_var.txt8
2 files changed, 6 insertions, 6 deletions
diff --git a/test/messages/2.5_func_newstyle_exceptions.txt b/test/messages/2.5_func_newstyle_exceptions.txt
index fc3adcb27..8155c8178 100644
--- a/test/messages/2.5_func_newstyle_exceptions.txt
+++ b/test/messages/2.5_func_newstyle_exceptions.txt
@@ -1,4 +1,4 @@
+E: 25:fonctionNew: Raising a new style class which doesn't inherit from BaseException
+E: 33:fonctionNew2: Raising a new style class which doesn't inherit from BaseException
W: 21:fonctionBof: Exception doesn't inherit from standard "Exception" class
-W: 25:fonctionNew: Exception doesn't inherit from standard "Exception" class
W: 29:fonctionBof2: Exception doesn't inherit from standard "Exception" class
-W: 33:fonctionNew2: Exception doesn't inherit from standard "Exception" class
diff --git a/test/messages/func_bad_assigment_to_exception_var.txt b/test/messages/func_bad_assigment_to_exception_var.txt
index 9b9bc027a..5c4f11a0c 100644
--- a/test/messages/func_bad_assigment_to_exception_var.txt
+++ b/test/messages/func_bad_assigment_to_exception_var.txt
@@ -1,5 +1,5 @@
-W: 11: Identifier e used to raise an exception is assigned to 1 line 7
-W: 15: Identifier e2 used to raise an exception is assigned to 'yo' line 8
-W: 20:func: Identifier e3 used to raise an exception is assigned to None
-W: 30: Identifier e3 used to raise an exception is assigned to None
+E: 11: Raising int while only classes, instances or string are allowed
+E: 20:func: Raising NoneType while only classes, instances or string are allowed
+E: 30: Raising NoneType while only classes, instances or string are allowed
+W: 15: Raising a string exception