Commit Graph

35 Commits

Author SHA1 Message Date
Dave Halter
50c4b7bfd9 memoize problems with defaults in combination with raised exceptions 2014-04-20 14:14:30 +02:00
David Halter
a8e259763e fix problem with variables in from clauses, #268 2013-08-17 22:04:55 +04:30
David Halter
0fef34c26e finding out that fake imports arent't allowed in python and os.path is a sys.modules modification, fix tests #213 2013-08-11 17:30:50 +04:30
David Halter
9d1e527b7c merge issue-213-from-import-definition of @tkf into dev 2013-08-11 01:20:45 +04:30
David Halter
7ab00242a8 finally change name of test.base module to helpers.py, fixes #181 2013-08-07 18:35:47 +04:30
David Halter
c6e08221ce fixed more import problems (also with the import usage), definitely fixes davidhalter/jedi-vim#152 2013-08-07 10:24:28 +04:30
David Halter
f72816a702 fix builtin module imports, fixes davidhalter/jedi-vim#152 2013-08-06 18:44:34 +04:30
David Halter
cdba4ef3e1 fixed multi level import issue, includes parts of a patch by Lubos Trilety <ltrilety@redhat.com> 2013-07-28 23:15:45 +02:00
David Halter
6cb021f4ae add memoize decorator to an Instance method, fixes RecursionError of #239 2013-07-10 10:23:05 +02:00
Takafumi Arakaki
46ac76e8be Reproduce the previous test failure w/o stdlib
It turned out that the failure occurs when you define "fake module path"
by importing some module from others.  Indeed, this is what happens
in os.py.
2013-05-21 17:40:20 +02:00
Takafumi Arakaki
1a5942364a Add failing tests for first part of #213 2013-05-21 17:16:40 +02:00
David Halter
3a7c8af87f also normal imports should return the right user_stmt, similar case than #137 2013-05-09 12:16:54 +04:30
David Halter
f3a4439285 import end_pos calculated differently, fixes #137 2013-05-09 11:54:08 +04:30
Takafumi Arakaki
1fffbf13ca Fix test failures because imports.py uses base.py 2013-03-12 10:18:18 +01:00
David Halter
f3f7eacae3 fix a little problem with import keyword autocompletion 2013-01-14 22:35:32 +01:00
David Halter
ce51021c1e move more testing functionality out of run.py 2013-01-05 22:42:16 +01:00
David Halter
41362370ed follow imports if they are in the file path, fixes davidhalter/jedi-vim#56 2012-12-30 10:29:35 +01:00
David Halter
fc9e78c31e new relative import tests 2012-12-27 15:40:46 +01:00
David Halter
658e5833ce Import missed a get_set_vars function, which caused an error with user_stmt checking -> fixes issue 16 of jedi-vim 2012-10-18 22:00:13 +02:00
David Halter
8059b075c6 handled import statement recursions 2012-10-10 22:55:07 +02:00
David Halter
4735126f1b goto / related_name fixed -> tests are passing again 2012-09-22 15:15:21 +02:00
David Halter
ea53d07238 tests weren't clean again 2012-09-20 00:37:59 +02:00
David Halter
6f0cbf18db again all sort of import related stuff, relative imports work now! fixes #2 2012-09-13 15:03:10 +02:00
David Halter
119455c3b3 cleaned up and fixed most cases of import related stuff, fixes #2 2012-09-12 21:36:16 +02:00
David Halter
911495da30 relative imports should work now 2012-09-02 16:27:41 +02:00
David Halter
a9fbb2edce temporary import work 2012-08-03 12:18:48 +02:00
David Halter
b4d147738f solved goto-import problems 2012-08-03 00:14:14 +02:00
David Halter
d8c0b8f8e9 again import tests 2012-08-02 20:09:45 +02:00
David Halter
24f81ea75c updated/added import test (nested structures) 2012-08-02 13:49:40 +02:00
David Halter
2feef20dc5 import completion fully working 2012-07-17 00:44:40 +02:00
David Halter
45413a18b9 most import completions work now, but some other tests don't 2012-07-16 20:42:22 +02:00
David Halter
e779cc8c97 basic imports rewriting, which has still it's rough edges 2012-07-16 02:19:48 +02:00
David Halter
972b4bd13d parentheses work now in import statements (tested) 2012-07-13 01:00:44 +02:00
David Halter
1af8273389 added import tests 2012-04-21 23:08:13 +02:00
David Halter
4feb8f5a3a import tests 2012-04-21 19:35:24 +02:00