Commit Graph

8025 Commits

Author SHA1 Message Date
Takafumi Arakaki
08f45d1f95 Fix Definition.get_definitions 2013-03-10 20:40:14 +01:00
Takafumi Arakaki
0f67b3e0c2 More robust Definition.names 2013-03-10 20:40:14 +01:00
Takafumi Arakaki
d0ad14adf4 Fix Definition.names for star import 2013-03-10 20:40:14 +01:00
Takafumi Arakaki
ba7d29f542 Add a test for multiple assignment 2013-03-10 20:40:14 +01:00
Takafumi Arakaki
cbcaa85108 Add :attr:Definition.names 2013-03-10 20:40:14 +01:00
Takafumi Arakaki
39feecee04 Add new API: jedi.api.get_definitions 2013-03-10 20:40:14 +01:00
Takafumi Arakaki
c3aaf7b4ba Show line_nr of test comment, not the line after 2013-03-10 20:26:09 +01:00
Takafumi Arakaki
59030daa60 Add --test-files option to py.test
At this point, py.test should be equivalent to test/run.py
2013-03-10 19:00:46 +01:00
Takafumi Arakaki
9018cea22e Rewrite integration test using py.test 2013-03-10 19:00:44 +01:00
Takafumi Arakaki
3b41a47c08 Re-add sys.path setup in test/base.py 2013-03-10 18:58:32 +01:00
Takafumi Arakaki
20c9709aef Do not change cwd at import time 2013-03-10 17:28:48 +01:00
Takafumi Arakaki
00912e69fe Completely separate test collection and run 2013-03-10 16:34:54 +01:00
Takafumi Arakaki
6a10f79551 Do not destruct test case in run_test 2013-03-10 14:24:05 +01:00
Takafumi Arakaki
418bce909a run_{test_type} functions takes same args now 2013-03-10 13:16:05 +01:00
Takafumi Arakaki
932ce397d6 Separate test collection and run 2013-03-10 12:21:12 +01:00
David Halter
dac25ea342 Merge pull request #148 from tkf/docstring-improvements
Improve docstrings
2013-03-03 20:18:58 -08:00
Takafumi Arakaki
8d486ff9aa Make doctest Python 3.x compatible 2013-03-04 02:07:47 +01:00
Takafumi Arakaki
0c6f7f66e9 Document get_names_of_scope with examples 2013-03-03 15:49:49 +01:00
Takafumi Arakaki
11707ffbbb Document evaluate.get_defined_names_for_position 2013-03-03 15:29:26 +01:00
Takafumi Arakaki
8e85adb718 Document Scope.get_defined_names 2013-03-03 15:19:34 +01:00
Takafumi Arakaki
d256c5470c Add a very short tutorial on parsing_representation 2013-03-03 14:55:24 +01:00
Takafumi Arakaki
99ab2dec15 Document pr.SubModule 2013-03-03 14:45:07 +01:00
Takafumi Arakaki
77e8b2aecd Remove a philosophical (and confusing) statement 2013-03-03 14:18:58 +01:00
Takafumi Arakaki
ac159bac07 Document pr.Simple.__init__ 2013-03-03 14:17:16 +01:00
Takafumi Arakaki
dc9a269d35 Use literal block instead of >>> for code example 2013-03-03 14:07:48 +01:00
Takafumi Arakaki
700493cac8 Fix and improve Statement.__doc__
- The type of `set_vars` and `used_vars` were wrong.
- ":param ...:" was used instead of ":type ...:".
- The parameter table is aligned to make it easier to read.
2013-03-03 14:07:07 +01:00
David Halter
90c800b257 remove repl style comments and use indented blocks instead, #146 2013-03-01 19:52:36 +04:30
David Halter
c98d099001 typos 2013-03-01 00:50:20 +04:30
David Halter
ee6a261b42 Merge branch 'dev' of github.com:davidhalter/jedi into dev 2013-03-01 00:35:18 +04:30
David Halter
e3b33fc009 fixed a unicode problem caused by a wrongly placed docstring 2013-03-01 00:32:54 +04:30
David Halter
68a9cecb27 improved run test documentation 2013-03-01 00:31:51 +04:30
David Halter
c808bcef70 little description of regression and refactor 2013-03-01 00:23:13 +04:30
David Halter
669dfda419 run documentation improved 2013-03-01 00:19:05 +04:30
David Halter
855d683d9a switched to __name__ == '__main__' checks for tests 2013-03-01 00:07:36 +04:30
David Halter
1834ef51b1 basic testing docstring for run.py 2013-02-28 23:57:33 +04:30
David Halter
76bd1a2d71 add testing docs to sphinx 2013-02-28 23:19:53 +04:30
David Halter
ffbc7df68d Merge pull request #146 from tkf/doctest
Add doctest
2013-02-26 03:46:08 -08:00
Takafumi Arakaki
9ba9e2c3a6 Make doctest work on Python 2.5 2013-02-26 10:58:24 +01:00
Takafumi Arakaki
6d2f7558fb Run doctests on Travis CI 2013-02-26 10:45:58 +01:00
Takafumi Arakaki
b56c212a2c Fix renamed functions in docstring 2013-02-26 10:36:29 +01:00
Takafumi Arakaki
95a98c9033 Do not use >>> for non-doctest code example
Use literal block instead.
2013-02-26 10:36:08 +01:00
Takafumi Arakaki
dad9cf0518 Print str to avoid u prefix 2013-02-26 10:28:25 +01:00
Takafumi Arakaki
668be37089 Use nose to run doctests 2013-02-26 10:25:16 +01:00
David Halter
20e5a6adea Merge pull request #144 from tkf/class-call-signature
Include __init__ call signature in Class.doc
2013-02-25 05:41:54 -08:00
David Halter
69cc5020be Merge pull request #143 from tkf/call-signature-test
Add a test for docstring in call signature
2013-02-24 20:38:37 -08:00
Takafumi Arakaki
38fc49022f Include __init__ call signature in Class.doc 2013-02-25 01:50:31 +01:00
Takafumi Arakaki
4ba9fd2b68 Fix Statement.get_code
Parsed Statement.assignment_details must be used.  Otherwise,
incorrect code is returned at the first time Statement.get_code
is called.
2013-02-25 01:43:22 +01:00
Takafumi Arakaki
e1e2ed8fcc Add a test for docstring in call signature 2013-02-24 22:45:10 +01:00
Danilo Bargen
3dcad981a5 Merge pull request #142 from tkf/doc-inheritance-diagram
Add inheritance-diagram to Sphinx documentation
2013-02-24 13:44:13 -08:00
Takafumi Arakaki
c911255d6e Add inheritance-diagram to Sphinx documentation 2013-02-24 21:20:00 +01:00