David Halter
c222cc5a32
method decorator as class tests
2013-08-09 10:58:24 +04:30
David Halter
a6b1a247c2
method decorator tests
2013-08-08 15:14:10 +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
0dc3d5e195
*args/**kwargs tests for #235 (failing tests)
2013-08-06 15:34:12 +04:30
David Halter
22edd6a149
*args/**kwargs tests for #235 (those are working)
2013-08-06 15:21:40 +04:30
David Halter
997e506038
fix a magic method problem
2013-08-02 15:11:01 +02:00
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
8598fe7327
get the reverse tokenizer positions right even with strange docstring situations
2013-07-26 01:24:44 +02:00
David Halter
284f2f1671
add __iter__method to InstanceElement, because it's needed for arrays
2013-07-24 17:21:49 +02:00
David Halter
c8648d9ca5
test for unnecessary parentheses inside instances
2013-07-24 16:57:46 +02:00
David Halter
3c96ef8905
test for lambdas in InstanceElements
2013-07-24 16:16:20 +02:00
David Halter
18e561f332
fix problem that strings are no function calls
2013-07-24 16:11:51 +02:00
David Halter
972d4e9a08
fix a problem with dynamic flow information and usages
2013-07-24 01:28:15 +02:00
David Halter
991b138ff3
star imports and usages
2013-07-23 17:21:12 +02:00
David Halter
fd2e158cf6
fix usage problem on **kwargs params
2013-07-23 16:33:59 +02:00
David Halter
9c53de5034
add empty return type test
2013-07-23 15:35:37 +02:00
David Halter
90202b2ad6
tests for failing docstrings
2013-07-23 15:11:14 +02:00
David Halter
d78b72b046
fixed getattr with array call
2013-07-23 14:30:18 +02:00
David Halter
bb8e864f8e
fix UnboundLocalError and TypeError within Array lookups, not a very good solution, but for now it doesn't puke errors
2013-07-23 02:33:07 +02:00
David Halter
52c8340d72
invalid goto syntax
2013-07-23 00:19:58 +02:00
David Halter
471f492f12
generators in *args and illegal *args like *1
2013-07-23 00:07:17 +02:00
David Halter
6a2afa7e94
failing test for illegal unpacking with *
2013-07-22 14:42:39 +02:00
David Halter
ebc8d4c04c
docstring test with statement docstrings (failed until now, worked only for specific cases)
2013-07-19 12:47:38 +02:00
David Halter
0dfe2f44a5
test for dots in params (happens sometimes by accident when generating builtins)
2013-07-19 02:40:17 +02:00
David Halter
b84315b829
tests for import problems
2013-07-19 00:56:56 +02:00
David Halter
7684135b99
finally found a test for unicode problems
2013-07-18 16:45:27 +02:00
David Halter
dd6967de7c
fixed a unicode test problem
2013-07-18 14:54:40 +02:00
David Halter
9348feb8bf
operations (+, *, etc) shouldn't be InstanceElements, fixes #246
2013-07-18 12:31:48 +02:00
David Halter
075c60de29
fix a problem related to #246 : comments were used as normal strings
2013-07-18 12:18:07 +02:00
David Halter
45c8cc739b
fixed the dict problem, but dictionary completions are still very bad
2013-07-17 16:14:06 +02:00
David Halter
0dbfc409a7
iteration problem test
2013-07-17 15:56:21 +02:00
David Halter
2ad3121aa3
test for empty statement problem in function call
2013-07-17 15:02:56 +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
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
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
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