Commit Graph

16 Commits

Author SHA1 Message Date
Fredrik Bergroth
d3ac1e902e Always cast pr to er in _follow_statements_imports 2014-06-11 23:49:36 +02:00
Dave Halter
2205117f92 test for #397, something raises ModuleNotFound if we use Definition.type 2014-04-30 16:58:27 +02:00
Dave Halter
0582979db5 documentation to docstring, #395 2014-04-17 14:13:47 +02:00
Dave Halter
0d9f9f0e4a parent on completions tests 2014-04-07 14:54:56 +02:00
Dave Halter
a66f8e5a0b more Definition.parent tests. 2014-04-02 15:44:55 +02:00
Dave Halter
d8c433cb20 Definition.parent is working. fixes #325 2014-04-02 15:37:41 +02:00
Dave Halter
99f292fbb5 tests for Definition.parent(), #325 2014-04-02 15:25:57 +02:00
Dave Halter
d6ffc80f0e cast pr.Function to er.Function even in the api. 2014-04-02 11:40:50 +02:00
Dave Halter
283a5086f9 use memoize_default instead of strange underscore_decorators in api classes 2014-04-02 10:34:43 +02:00
Dave Halter
ee18e19711 moved params to BaseDefinition. This enables completions and gotos to check for call signatures as well, fixes #238 2014-04-01 14:34:10 +02:00
Dave Halter
4a9b9388df missing docstrings for imports in completions should be there now, fixes #340 2014-03-25 11:57:34 +01:00
Dave Halter
33d59d8055 tests for documentation Completion.documentation - check if Jedi is following imports correctly 2014-03-25 11:20:48 +01:00
Dave Halter
3f3788e800 add a Documentation() class to the API, which will be used in the future for all kind of docstrings. Also add a documentation method on BaseDefinition that returns a Documentation object. Deprecate at the same time its doc and raw_doc functions 2014-03-25 02:14:34 +01:00
Dave Halter
1c1b51f116 more type tests 2014-03-24 01:31:14 +01:00
Dave Halter
45fecabbf1 definition type shouldn't return import, we'd rather want the implementation name -> #340 2014-03-23 13:30:10 +01:00
Dave Halter
8660555d7b moved api, parser and evaluate test directories to test_api, test_parser... 2014-01-29 21:16:18 +01:00