Commit Graph

1306 Commits

Author SHA1 Message Date
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
David Halter
d9ac630633 Merge pull request #140 from tkf/tox-setenv
Set XDG_CACHE_HOME in tox to avoid contaminating ~/.cache
2013-02-24 06:35:13 -08:00
David Halter
bbb1c463b4 Merge pull request #139 from tkf/tox-25
Fix setup.py and make 2.5 test runnable with tox
2013-02-24 06:33:46 -08:00
Takafumi Arakaki
679cd05acf Set XDG_CACHE_HOME in tox to avoid contaminating ~/.cache 2013-02-24 15:01:39 +01:00
Takafumi Arakaki
d9ca833814 Make 2.5 test runnable with tox 2013-02-24 14:56:15 +01:00
David Halter
68ace0d05b dynamic docstring improvements 2013-02-23 22:21:34 +04:30
David Halter
e8feb0b7d2 dynamic docstring 2013-02-23 22:15:17 +04:30
David Halter
4ee4e225a6 don't encode strings in python3, affects davidhalter/jedi-vim#94 and @dbrgn 2013-02-23 21:10:22 +04:30
David Halter
6ea64a28bf dev/refactor merge 2013-02-23 20:53:57 +04:30
David Halter
adc7a559cf python3.2 compatibility 2013-02-23 08:58:15 +04:30
David Halter
6ab10b6fa1 pep8 2013-02-23 01:16:02 +04:30
David Halter
4d7aad4ce8 deleted old crap code 2013-02-23 01:13:21 +04:30