From 9e0620833d014a0c8d34b6bf8c908e01b3ac7e70 Mon Sep 17 00:00:00 2001 From: Laura M?dioni Date: Wed, 2 Dec 2015 09:58:20 +0100 Subject: Allow statements in if or try blocks containing imports. Closes issue #714 --- pylint/test/functional/wrong_import_position.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pylint/test/functional/wrong_import_position.txt') diff --git a/pylint/test/functional/wrong_import_position.txt b/pylint/test/functional/wrong_import_position.txt index 2f417e4..5cde17d 100644 --- a/pylint/test/functional/wrong_import_position.txt +++ b/pylint/test/functional/wrong_import_position.txt @@ -1,3 +1,3 @@ -wrong-import-position:14::Import "import datetime" should be placed at the top of the module -wrong-import-position:20::Import "import scipy" should be placed at the top of the module -wrong-import-position:21::Import "import astroid" should be placed at the top of the module +wrong-import-position:26::Import "import datetime" should be placed at the top of the module +wrong-import-position:32::Import "import scipy" should be placed at the top of the module +wrong-import-position:33::Import "import astroid" should be placed at the top of the module -- cgit v1.2.1