summaryrefslogtreecommitdiff
path: root/pylint/test
diff options
context:
space:
mode:
authorAlex Jurkiewicz <alex@jurkiewi.cz>2016-03-08 11:55:47 +1100
committerAlex Jurkiewicz <alex@jurkiewi.cz>2016-03-08 11:57:51 +1100
commit61f81403412c8e1ef761bd79cca86551c6088fb4 (patch)
treeee855f91401550cc636d039bd9e8b11bcf953ffe /pylint/test
parent5d58b6d5cc5ca08f94f9b5a5f95c2bb3b05e5bfa (diff)
downloadpylint-git-61f81403412c8e1ef761bd79cca86551c6088fb4.tar.gz
Improve R0102 error messaging.
Diffstat (limited to 'pylint/test')
-rw-r--r--pylint/test/functional/simplifiable_if_statement.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/pylint/test/functional/simplifiable_if_statement.txt b/pylint/test/functional/simplifiable_if_statement.txt
index 74bdd1610..1c5110908 100644
--- a/pylint/test/functional/simplifiable_if_statement.txt
+++ b/pylint/test/functional/simplifiable_if_statement.txt
@@ -1,4 +1,4 @@
-simplifiable-if-statement:8:test_simplifiable_1:The if statement can be reduced by returning bool of test
-simplifiable-if-statement:16:test_simplifiable_2:The if statement can be reduced by returning bool of test
-simplifiable-if-statement:24:test_simplifiable_3:The if statement can be reduced by assigning bool of test
-simplifiable-if-statement:35:test_simplifiable_4:The if statement can be reduced by returning bool of test \ No newline at end of file
+simplifiable-if-statement:8:test_simplifiable_1:The if statement can be replaced with 'return bool(test)'
+simplifiable-if-statement:16:test_simplifiable_2:The if statement can be replaced with 'return bool(test)'
+simplifiable-if-statement:24:test_simplifiable_3:The if statement can be replaced with 'var = bool(test)'
+simplifiable-if-statement:35:test_simplifiable_4:The if statement can be replaced with 'return bool(test)'