From f3aae7fe687408b9867d78a56db1c35bbc453139 Mon Sep 17 00:00:00 2001 From: Oscar Campos Date: Wed, 11 May 2016 10:49:10 +0100 Subject: [PATCH] removed redundant imports --- test/test_autoformat.py | 4 ---- test/test_complete_parameters.py | 2 -- test/test_completion.py | 4 ---- test/test_doc.py | 2 -- test/test_find_usages.py | 4 ---- test/test_goto.py | 2 -- test/test_lint.py | 2 -- test/test_qa.py | 4 ---- 8 files changed, 24 deletions(-) diff --git a/test/test_autoformat.py b/test/test_autoformat.py index 177bdb32..bea3d45f 100644 --- a/test/test_autoformat.py +++ b/test/test_autoformat.py @@ -2,10 +2,6 @@ # Copyright (C) 2012-2016 - Oscar Campos # This program is Free Software see LICENSE file for details -import sys -sys.path.insert(0, '../anaconda_server') -sys.path.append('../anaconda_lib') - from commands.autoformat import AutoPep8 from handlers.autoformat_handler import AutoFormatHandler diff --git a/test/test_complete_parameters.py b/test/test_complete_parameters.py index 872de942..10c59360 100644 --- a/test/test_complete_parameters.py +++ b/test/test_complete_parameters.py @@ -3,8 +3,6 @@ # This program is Free Software see LICENSE file for details import sys -sys.path.insert(0, '../anaconda_server') -sys.path.append('../anaconda_lib') import jedi diff --git a/test/test_completion.py b/test/test_completion.py index f740d63c..af5012e8 100644 --- a/test/test_completion.py +++ b/test/test_completion.py @@ -2,10 +2,6 @@ # Copyright (C) 2012-2016 - Oscar Campos # This program is Free Software see LICENSE file for details -import sys -sys.path.insert(0, '../anaconda_server') -sys.path.append('../anaconda_lib') - import jedi from commands.autocomplete import AutoComplete diff --git a/test/test_doc.py b/test/test_doc.py index eb57237a..b5cefe20 100644 --- a/test/test_doc.py +++ b/test/test_doc.py @@ -4,8 +4,6 @@ # This program is Free Software see LICENSE file for details import sys -sys.path.insert(0, '../anaconda_server') -sys.path.append('../anaconda_lib') import jedi diff --git a/test/test_find_usages.py b/test/test_find_usages.py index e78fe7d3..bf3ef2d2 100644 --- a/test/test_find_usages.py +++ b/test/test_find_usages.py @@ -2,10 +2,6 @@ # Copyright (C) 2012-2016 - Oscar Campos # This program is Free Software see LICENSE file for details -import sys -sys.path.insert(0, '../anaconda_server') -sys.path.append('../anaconda_lib') - import jedi from commands.find_usages import FindUsages diff --git a/test/test_goto.py b/test/test_goto.py index 056992b2..e9db71d3 100644 --- a/test/test_goto.py +++ b/test/test_goto.py @@ -4,8 +4,6 @@ import re import sys -sys.path.insert(0, '../anaconda_server') -sys.path.append('../anaconda_lib') import jedi diff --git a/test/test_lint.py b/test/test_lint.py index 076a6a89..fd388bc7 100644 --- a/test/test_lint.py +++ b/test/test_lint.py @@ -3,8 +3,6 @@ # This program is Free Software see LICENSE file for details import sys -sys.path.insert(0, '../anaconda_server') -sys.path.append('../anaconda_lib') from handlers.python_lint_handler import PythonLintHandler diff --git a/test/test_qa.py b/test/test_qa.py index 5ebeeb59..4e4f6e79 100644 --- a/test/test_qa.py +++ b/test/test_qa.py @@ -2,10 +2,6 @@ # Copyright (C) 2012-2016 - Oscar Campos # This program is Free Software see LICENSE file for details -import sys -sys.path.insert(0, '../anaconda_server') -sys.path.append('../anaconda_lib') - from commands.mccabe import McCabe from handlers.qa_handler import QAHandler from linting.anaconda_mccabe import AnacondaMcCabe