Claude
160b6fca51
show off some power :)
2015-12-17 15:29:49 +01:00
Claude
6bee214948
catch error in certain non-pep0484 annotations
2015-12-17 15:23:40 +01:00
Claude
8bf2fe77e2
add some more non-pep0484-junk to the test
2015-12-17 15:06:20 +01:00
Claude
1e6397b163
check 'assigned types'-support (comes out of the jedi-box), and add tests for that
2015-12-15 11:56:54 +01:00
Claude
35fda3823e
test dynamic annotation and dynamic forward reference
2015-12-15 11:53:48 +01:00
Claude
1258875300
add test that jedi doesn't break in case of non-pep-0484 comments
2015-12-15 00:37:23 +01:00
Claude
3cef8b6d55
string-annotations should only be interpreted by the pep-0484 code, not the parser
2015-12-15 00:31:47 +01:00
Claude
626fa60d03
Revert "clean out the last_* fields of sys before importing it."
...
This reverts commit be399c81c3 .
Will break python 2.6 (possibly 2.7) tests; this is expected behaviour.
See https://github.com/davidhalter/jedi/pull/661#discussion_r47543815
2015-12-14 22:37:20 +01:00
Claude
0f6fb23d91
override annotation() in Lambda, instead of checking in Function on type
2015-12-14 22:02:11 +01:00
Claude
6ce076f413
more elaborate tests
2015-12-14 12:10:48 +01:00
Claude
576fdf8106
better separation pep0484 code and py__annotation__() function
2015-12-14 12:10:00 +01:00
Claude
be399c81c3
clean out the last_* fields of sys before importing it.
...
The system gets confused if there were uncaught errors in previous
tests without this. Particularly, it crashes (at least 2.6) if any tests during
test_integrations were skipped.
2015-12-14 00:52:36 +01:00
Claude
0f08dc6ac6
Addinf myself to AUTHORS
2015-12-14 00:03:07 +01:00
Claude
7f8b878c8c
if both docstring and annotations are present, use both for function parameters
2015-12-13 23:55:07 +01:00
Claude
f8debace0d
forward reference pep-0484
2015-12-13 23:47:45 +01:00
Claude
c61f39cb2b
add test for annotations to test_parser_tree
2015-12-13 23:45:37 +01:00
Claude
7e8112d607
pep0484 return type support
2015-12-13 23:07:13 +01:00
Claude
68cbabe819
pep0484 tests only on python >= 3.2
2015-12-13 21:43:34 +01:00
Claude
c02668a443
Build in version-dependency in integration tests
...
If a line is encountered with the comment or , then the tests are skipped if the current python version is less than the requested one. All tests until the end of the file, or a new comment specifying a compatibe python version are skipped
2015-12-13 21:42:45 +01:00
Claude
5a8c46d509
seperate parser and testing code
2015-12-13 21:13:20 +01:00
Claude
fadf4f4419
initial poc pep-0484 type hints
2015-12-13 18:05:57 +01:00