Commit Graph
12 Commits
Author SHA1 Message Date
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