1
0
forked from VimPlug/jedi
Commit Graph

301 Commits

Author SHA1 Message Date
Takafumi Arakaki
45bddec83a Add more complex assignment tests 2013-05-23 23:41:41 +02:00
Takafumi Arakaki
ced1a83f5b Add a failing test: "a = b = 1"-style assignment 2013-05-23 23:28:30 +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
David Halter
2e0d0bb4f5 test for #210 2013-05-04 13:44:15 +04:30
David Halter
7c8fee1257 removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses 2013-05-03 21:26:29 +04:30
David Halter
beae920177 Script.complete has been deprecated, therefore changed all usages / documatation to Script.completions 2013-05-03 20:28:11 +04:30
David Halter
a2da599d6e fix a completion in dict problem 2013-05-03 18:31:05 +04:30
David Halter
fd4eb5f0a6 add test of #183 2013-05-03 15:16:09 +04:30
Aldo Stracquadanio
124595de6e Making it nicer
Fixed typo in docstring and added some comments in find_module_py33

Removed a test that is not compatible with python 3.3

Better variable names in find_module implementation(s)

Removed variable assignation in favor of direct return statement
2013-03-27 10:49:43 +00:00
Takafumi Arakaki
1fffbf13ca Fix test failures because imports.py uses base.py 2013-03-12 10:18:18 +01:00
Takafumi Arakaki
fa231b58a8 Add more test cases in completion/definition.py 2013-03-10 21:29:09 +01:00
Takafumi Arakaki
5f49fb8c7c Add blackbox tests using column number 2013-03-10 21:29:09 +01:00
Takafumi Arakaki
31df9a92fe Add test/completion/definition.py 2013-03-10 21:29:09 +01:00
David Halter
c1e805d7b0 fixed invalid list comprehension tests 2013-02-22 23:06:59 +04:30
David Halter
1b7fc1ee50 fixes for goto 2013-02-19 00:21:04 +04:30
David Halter
c3fe5d04dd line_offset to offset in Parser, which is important for exact positioning 2013-02-18 23:17:41 +04:30
David Halter
de5de41627 fix last failing function tests 2013-02-11 00:06:31 +01:00
David Halter
3c1ebc02cc fix last remaining bugs of the big evaluate_representation refactoring 2013-02-05 17:21:23 +01:00
Takafumi Arakaki
0cbbb17a82 Add tests in completion/docstring.py 2013-01-30 21:23:04 +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
Yakov Borevich
3b412c72e9 Remove google docstrings support. Updates #40 2012-12-28 10:09:03 +04:00
Yakov Borevich
c7cf7b6dc7 Fix complex param parsing in docstrings. 2012-12-28 10:07:51 +04:00
Yakov Borevich
5036960bf1 Merge branch 'dev' of github.com:davidhalter/jedi into docrtypes 2012-12-27 19:31:36 +04:00
Yakov Borevich
502c643c73 Return types for docstrings 2012-12-27 19:30:40 +04:00
David Halter
fc9e78c31e new relative import tests 2012-12-27 15:40:46 +01:00
David Halter
21bd50c608 follow 'from . import variable', fixes parts of davidhalter/jedi-vim#56 2012-12-27 15:30:43 +01:00
David Halter
31b335dc08 fix for tar_import stuff, that was caused by http://bugs.python.org/issue16791, may affect davidhalter/jedi-vim#56 2012-12-27 13:32:39 +01:00
Yakov Borevich
a7f7d8ff9f Add tests for epydoc formated dosctring 2012-12-27 14:59:42 +04:00
David Halter
d1f23444b1 add property tests for renaming and removed some limitations of renaming, fixes davidhalter/jedi-vim#57 2012-12-27 00:03:02 +01:00
David Halter
a7deb4766f test for davidhalter/jedi-vim#57 2012-12-26 23:28:24 +01:00
David Halter
e057387910 added docstring tests (forgot to add them a while ago), important for #87 2012-12-26 23:08:34 +01:00
David Halter
45c9fe16b8 many tests and fixes for instance element renamings 2012-12-26 22:56:56 +01:00
David Halter
2534269cce many new renaming tests (and bug fixes) 2012-12-26 21:34:21 +01:00
David Halter
3bf0ec70fc improved goto on assignees (just return the assignee). 2012-12-26 20:53:15 +01:00
David Halter
92cd50b2b7 added goto tests for params 2012-12-25 02:26:36 +01:00
David Halter
70b949b6e5 test for class inheritance renaming 2012-12-24 17:22:45 +01:00
David Halter
1a4b556ddb removed whitespace in renaming tests 2012-12-24 17:15:21 +01:00
David Halter
6322df11f3 renaming tests refactored. It's now much easier and understandable to create rename tests 2012-12-24 17:12:46 +01:00
David Halter
40898450af support for super() 2012-12-24 12:27:43 +01:00
David Halter
e647e09f0c fix problems with unnecessary brackets and following executions, which fixes also the last remaining lambda problem 2012-12-24 10:47:11 +01:00
David Halter
3f95d33f4d added tests for executions/follows of unnecessary brackets 2012-12-24 02:25:26 +01:00
David Halter
6ab9390bce lambdas: fix remaining problems with tests 2012-12-24 01:28:03 +01:00
David Halter
716d2362fd fixed mostly wrong lambda tests (and a few lambda improvements as well) 2012-12-23 15:52:49 +01:00
David Halter
c7fd196850 get_code is now able to process returns again 2012-12-22 20:28:34 +01:00
David Halter
3fbf66f42c 14 lambda tests 2012-12-22 18:59:55 +01:00
David Halter
2ee09980eb improve sqlite3 support -> added mixins -> fixes #84 2012-12-19 22:26:53 +01:00
David Halter
ca21f76128 no confusions in executions for dict assignments, fixes #83 2012-12-19 21:23:50 +01:00