From 57b16e8d763078b4e8fb231f56ef1c071f126964 Mon Sep 17 00:00:00 2001 From: Sylvain Th?nault Date: Wed, 12 Mar 2014 08:00:14 +0100 Subject: cleanup as suggested by Buck Golemon --- checkers/__init__.py | 1 - test/input/func_f0401.py | 2 +- test/messages/func_unpacking_non_sequence.txt | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/checkers/__init__.py b/checkers/__init__.py index c68f2a8..9346904 100644 --- a/checkers/__init__.py +++ b/checkers/__init__.py @@ -41,7 +41,6 @@ messages nor reports. XXX not true, emit a 07 report ! import sys import tokenize import warnings -from os.path import dirname from astroid.utils import ASTWalker from logilab.common.configuration import OptionsProviderMixIn diff --git a/test/input/func_f0401.py b/test/input/func_f0401.py index f8443fa..c663431 100644 --- a/test/input/func_f0401.py +++ b/test/input/func_f0401.py @@ -1,4 +1,4 @@ -"""tset failed import +"""test failed import """ __revision__ = 0 diff --git a/test/messages/func_unpacking_non_sequence.txt b/test/messages/func_unpacking_non_sequence.txt index 55a7745..4099e29 100644 --- a/test/messages/func_unpacking_non_sequence.txt +++ b/test/messages/func_unpacking_non_sequence.txt @@ -6,3 +6,4 @@ W: 65: Attempting to unpack a non-sequence defined at line 9 of input.unpacking W: 66: Attempting to unpack a non-sequence defined at line 11 of input.unpacking W: 67: Attempting to unpack a non-sequence defined at line 58 W: 68: Attempting to unpack a non-sequence + -- cgit v1.2.1