Commit Graph

166 Commits

Author SHA1 Message Date
Dave Halter cd8932fbfc Add a latest grammar to the evaluator and use it to avoid importing from parso import parse. 2017-05-24 00:37:36 -04:00
Dave Halter 9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter e8b32e358b Remove 'move' from the parser tree. 2017-04-26 18:45:18 +02:00
Dave Halter 3d27d06781 Use the new parse method instead of a Parser. 2017-03-26 11:49:17 +02:00
Dave Halter 52d855118a Remove get_parsed_node from the parser as well. 2017-03-18 03:55:23 +01:00
Dave Halter 97fc3bc23c Refactored the parser calls. Now it's possible to use jedi.parser.python.parse to quickly parse something. 2017-03-14 00:38:58 +01:00
Dave Halter ae8e43d3c7 Move get_node() to tree_node and replace all the custom classdefs/funcdefs. 2017-01-05 23:43:12 +01:00
Dave Halter 5b9e5f96aa Merge with master. 2017-01-02 13:05:45 +01:00
Dave Halter 5fb5580259 Fix a few things that were broken by the mixed object refactoring. 2016-12-16 17:29:37 +01:00
Dave Halter f6070496ad Fixes to the isinstance tests. 2016-11-28 09:34:59 +01:00
Dave Halter 65d3e29146 dostring fixes. 2016-11-13 20:23:17 +01:00
Dave Halter 853f9fdb08 Somre more fixes towards basic stuff. 2016-11-12 14:23:44 +01:00
Daniel Hahler a4aabc2b65 Improve documentation in test/run.py 2016-11-04 14:28:27 +01:00
Dave Halter f57455f0ad Deprecate Evaluator.wrap. 2016-11-01 23:38:06 +01:00
Dave Halter 2e6603cc2e A lot of small improvements. 2016-10-22 17:40:42 +02:00
Dave Halter 885cf62a12 Remove the position_modifier from the parser. 2016-09-18 00:50:31 +02:00
Dave Halter e0cb1346e1 Add basic yield from type inference. References #647. 2016-07-09 02:33:56 +02:00
Dave Halter 0445d51d34 Remove the user_scope from the user_context module. 2016-06-27 08:35:24 +02:00
Dave Halter 9930ab5056 Small fixes to make the tests pass again. 2016-06-11 16:50:05 +02:00
Dave Halter 4c711339dd The integration test runner is now using a different way of getting the supposed results.
This is needed, because goto_definition will not work in comments anymore.
2016-06-11 16:33:56 +02:00
Dave Halter 257009d238 Skip pep0484 tests when using Python 2.6. 2016-01-26 15:59:27 -02:00
Dave Halter 6bad5a924b Making it possible for static analysis tests to be skipped if the python version doesn't match. 2015-12-22 17:37:28 +01:00
Dave Halter 515d096d33 The alternative test runner script shouldn't run on skipped tests. 2015-12-22 11:45:24 +01:00
Dave Halter 23f40d8998 Merge branch 'linter' of https://github.com/reinhrst/jedi into pep484
Conflicts:
	AUTHORS.txt
2015-12-17 23:46:20 +01:00
Dave Halter 7141158484 Merge master into linter. 2015-12-15 12:28:38 +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
Dave Halter 1b634d77af Add ranged test execution for alternate test runner. 2015-12-06 03:03:11 +01:00
Dave Halter 4361ce0778 test/run.py should be runnable from everywhere. 2015-11-14 23:17:26 +01:00
Sid Shanker de7273e04b Fixed utf-8 decoding error in build. 2015-05-17 23:11:23 -07:00
Dave Halter d49a8fc073 The test runner should only start tests if the name starts with the same letters. 2014-11-17 17:56:43 +01:00
Dave Halter 50fa3a732d actually start checking if the integration tests are instances on both sides of the comparison. This wasnt necessary for just autocompletion, but it's way more important now. 2014-07-31 14:58:32 +02:00
Danilo Bargen 2a1c108bbf Fixed whitespace problems in completion tests 2014-07-26 17:39:05 +02:00
Akinori Hattori 68150f2814 fix module name of integration tests for Windows 2014-07-19 10:36:31 +09:00
Dave Halter a1bc644bfb fix a small issue in the alternative test runner 2014-07-17 22:47:54 +02:00
Dave Halter b643325889 type of NamePart in definition should work. 2014-04-18 01:31:07 +02:00
Dave Halter 62bd8bd8ef make the parametrizing of tests nicer for integration tests 2014-04-14 17:07:34 +02:00
Dave Halter 9da09c9058 improve the testing documentation. Add a section about the alternate test runner ./run.py 2014-03-11 14:27:11 +01:00
Dave Halter 9c2fcfffd7 StringIo is now always used as part of the io library 2014-02-21 17:52:09 +01:00
Dave Halter 99882724da is_py3k -> is_py3 2014-01-14 11:43:56 +01:00
Dave Halter a6e49f2680 compatibility improvements -> use reduce from functools 2014-01-14 11:31:01 +01:00
David Halter 8d2b3a0f7c Executable.decorated should be protected 2013-12-23 22:52:17 +01:00
David Halter f12e7f66c4 remove unused argument from calls to set_debug_function 2013-08-16 14:06:53 +04:30
David Halter fbcecaf1ef deprecate 'source_path' as a Script parameter in favour of 'path' 2013-08-15 19:25:19 +04:30
David Halter e07625017d remove all the deprecation warnings in jedi itself 2013-08-11 23:00:27 +04:30
David Halter a72601a9d8 use docopt for run.py executions, much more readable 2013-08-11 19:53:14 +04:30
David Halter 9c258ca897 remove a sys.path hack that is not needed 2013-08-05 16:26:50 +04:30
David Halter dd6967de7c fixed a unicode test problem 2013-07-18 14:54:40 +02:00
David Halter ad56b6cc89 fix title length (docstr stuff) 2013-05-11 11:02:13 +04:30
David Halter 7c8fee1257 removed a lot of the goto usages, used goto_assignments instead. Did the same also for a lot of definition uses 2013-05-03 21:26:29 +04:30
David Halter efeeee9706 removed related_names occurences in favor of usages 2013-05-03 21:04:36 +04:30