diff options
Diffstat (limited to 'test/input/func_base_stmt_without_effect.py')
-rw-r--r-- | test/input/func_base_stmt_without_effect.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/test/input/func_base_stmt_without_effect.py b/test/input/func_base_stmt_without_effect.py new file mode 100644 index 0000000..f282ff7 --- /dev/null +++ b/test/input/func_base_stmt_without_effect.py @@ -0,0 +1,15 @@ +""" + 'W0103': ('Statement seems to have no effect', + 'Used when a statement doesn\'t have (or at least seems to) \ + any effect.'), +""" + +__revision__ = '' + +__revision__ + +__revision__ <= 1 + +__revision__.lower() # ok + +[i for i in __revision__] # ko |