From 9c258ca897c96aac7c1b51f2689c1adf2d379f6a Mon Sep 17 00:00:00 2001 From: David Halter Date: Mon, 5 Aug 2013 16:26:50 +0430 Subject: [PATCH] remove a sys.path hack that is not needed --- test/run.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/run.py b/test/run.py index e1b45ea3..5ec4b557 100755 --- a/test/run.py +++ b/test/run.py @@ -100,10 +100,6 @@ import os import re from ast import literal_eval -if __name__ == '__main__': - import sys - sys.path.insert(0, '..') - import jedi from jedi._compatibility import unicode, reduce, StringIO, is_py3k @@ -289,6 +285,7 @@ if __name__ == '__main__': t_start = time.time() # Sorry I didn't use argparse here. It's because argparse is not in the # stdlib in 2.5. + import sys args = sys.argv[1:] try: i = args.index('--thirdparty')