1
0
forked from VimPlug/jedi

No need to setup import path in test.base

py.test does that for us.
This commit is contained in:
Takafumi Arakaki
2013-03-12 11:03:12 +01:00
parent 446c7cf694
commit c387bf06bc
3 changed files with 0 additions and 7 deletions

View File

@@ -9,7 +9,6 @@ import functools
test_dir = dirname(abspath(__file__))
root_dir = dirname(test_dir)
sys.path.insert(0, root_dir)
import pytest

View File

@@ -10,7 +10,6 @@ import traceback
import re
import itertools
from . import base # required to setup import path
from jedi._compatibility import reduce
import jedi
from jedi import refactoring

View File

@@ -97,17 +97,12 @@ Tests look like this::
abc
"""
import os
import sys
import re
from . import base # required to setup import path
import jedi
from jedi._compatibility import unicode, StringIO, reduce, is_py25
sys.path.pop(0) # pop again, because it might affect the completion
TEST_COMPLETIONS = 0
TEST_DEFINITIONS = 1
TEST_ASSIGNMENTS = 2