From c87d3dad52d5beb65afae129a68dc8e9cf34bf3c Mon Sep 17 00:00:00 2001 From: Takafumi Arakaki Date: Tue, 12 Mar 2013 11:04:15 +0100 Subject: [PATCH] Remove unused imports --- test/base.py | 7 ++++--- test/refactor.py | 3 --- test/test_integration.py | 2 -- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/test/base.py b/test/base.py index efdd9f18..2deb4452 100644 --- a/test/base.py +++ b/test/base.py @@ -7,15 +7,16 @@ import os from os.path import abspath, dirname import functools -test_dir = dirname(abspath(__file__)) -root_dir = dirname(test_dir) - import pytest import jedi from jedi._compatibility import is_py25 +test_dir = dirname(abspath(__file__)) +root_dir = dirname(test_dir) + + sample_int = 1 # This is used in completion/imports.py diff --git a/test/refactor.py b/test/refactor.py index 05a8d154..fdbbdc20 100755 --- a/test/refactor.py +++ b/test/refactor.py @@ -4,11 +4,8 @@ Refactoring tests work a little bit similar to Black Box tests. But the idea is here to compare two versions of code. """ from __future__ import with_statement -import sys import os -import traceback import re -import itertools from jedi._compatibility import reduce import jedi diff --git a/test/test_integration.py b/test/test_integration.py index b3baf336..f348689d 100644 --- a/test/test_integration.py +++ b/test/test_integration.py @@ -1,8 +1,6 @@ import os import re -import pytest - from . import base from .run import \ TEST_COMPLETIONS, TEST_DEFINITIONS, TEST_ASSIGNMENTS, TEST_USAGES