Commit Graph

626 Commits

Author SHA1 Message Date
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
6017daded5 removed statement docstr stuff for now. it will be reintroduced when using the evaluator class 2013-07-19 13:17:27 +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
b6e9f16a01 fix a completion problem on docstrings 2013-07-17 16:48:50 +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
Laurens Van Houtven
8dae2049c9 Fix inaccuracy in test comment, since jedi now does the right thing 2013-07-10 14:06:33 +02:00
Laurens Van Houtven
e42d0d226f Remove stale pytest import 2013-07-10 12:24:02 +02:00
Laurens Van Houtven
b5ee375fe1 Rename explicit_absolute_import to has_explicit_absolute_import 2013-07-10 12:12:33 +02:00
Laurens Van Houtven
1682f24703 Merge branch 'dev' of git://github.com/davidhalter/jedi 2013-07-10 12:06:35 +02:00
Laurens Van Houtven
42fc44b478 Remove unused py.test test skipping decorators 2013-07-10 12:06:13 +02:00
David Halter
6cb021f4ae add memoize decorator to an Instance method, fixes RecursionError of #239 2013-07-10 10:23:05 +02:00
Laurens Van Houtven
3d4a71f6bb Use Parser.module instead of Parser.scope 2013-06-23 22:50:38 +02:00
Laurens Van Houtven
e39f8a246e Merge branch 'dev' of git://github.com/davidhalter/jedi 2013-06-23 22:50:00 +02:00
Laurens Van Houtven
368c7fd5b5 Only deal with explicit absolute_import 2013-06-23 22:30:53 +02:00
Laurens Van Houtven
58b165e4b6 Don't assume either namespace is not-None 2013-06-23 22:02:37 +02:00
Laurens Van Houtven
e82e3eaa0d Don't assume every module has a namespace 2013-06-23 21:59:58 +02:00
Laurens Van Houtven
adec666994 py.test skipping evaluation rules are kinda silly, and in this case completely useless 2013-06-23 21:56:00 +02:00
Laurens Van Houtven
cb4acccfe5 More PEP8, minor cleanup 2013-06-22 09:54:18 +02:00
Laurens Van Houtven
ae94a2cda1 Remove stale import 2013-06-22 08:57:02 +02:00
Laurens Van Houtven
397b881c96 PEP8 whitespace 2013-06-22 08:56:32 +02:00
Laurens Van Houtven
0b3955a257 Remove minimal_demo.py demo script 2013-06-22 08:53:51 +02:00
Laurens Van Houtven
38daa3cc34 Add failing test case 2013-06-21 19:49:05 +02:00
Laurens Van Houtven
d32045303f Add absolute_import failing SSCCE, and get pytest to ignore it 2013-06-21 19:25:18 +02:00
Laurens Van Houtven
5701ac1a10 Add absolute import detection 2013-06-21 17:02:17 +02:00
Takafumi Arakaki
71455f6b31 Add another failing case 2013-05-24 22:05:12 +02:00
Takafumi Arakaki
105bb2b1ca ModuleWithCursor.get_path_until_cursor cannot handle "\"
It raises: IndexError: string index out of range
2013-05-24 19:43:23 +02:00
David Halter
b0116b0d7c Merge pull request #232 from tkf/unicode-has-no-generate_call_path
Fix: 'unicode' object has no attribute 'generate_call_path'
2013-05-23 22:33:02 -07: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
ce92fd946b Add failing test: test_goto_assignments_keyword 2013-05-23 15:32:32 +02:00
Takafumi Arakaki
0ee2c16551 Add TestDefinedNames.test_nested_class 2013-05-21 20:16:44 +02:00
David Halter
fbf17e3e5b Merge pull request #228 from tkf/fix-full_name
Fix full_name for import statements
2013-05-21 09:11:15 -07:00
Takafumi Arakaki
91f3d524de Document test_full_name.py 2013-05-21 16:57:40 +02:00
Takafumi Arakaki
5d6719ed8c Add tests for defined_names + full_name 2013-05-21 14:23:58 +02:00
Takafumi Arakaki
f4982606d8 Refactor tests for full_name 2013-05-21 12:10:03 +02:00