Commit Graph

178 Commits

Author SHA1 Message Date
Dave Halter
bd7c65d963 Finally fix all the get_system_environment issues 2018-04-15 16:43:53 +02:00
Dave Halter
336087fcf8 find_python_environments -> find_system_environments 2018-04-14 15:46:16 +02:00
Dave Halter
777d9defc5 Give the run.py script an environment parameter 2018-04-10 08:42:58 +02:00
Dave Halter
d986c44b94 Merge with master
The deprecation of Python2.6 and the insertion of environments made it quite difficult to merge.
2018-01-20 19:32:59 +01:00
Hugo
3e8cd9f128 Use set literals 2018-01-07 10:40:36 +02:00
Dave Halter
4b72a89379 There were a few bugs in the previous commit 2017-12-28 23:25:09 +01:00
Dave Halter
9906c4f9fc Skip the correct tests 2017-12-28 22:03:02 +01:00
Dave Halter
e925661aff Skip tests according to the current environment 2017-12-26 15:07:57 +01:00
Dave Halter
a9ebd92c20 Add a way to specify environments in tox 2017-12-19 19:02:57 +01:00
Daniel Hahler
e621e8590c Improve IntegrationTestCase.__repr__
Having the path (together with the line only) makes it easy to go to the
actual test.
2017-12-14 22:44:24 +01:00
Dave Halter
54490be1b2 parso.load_grammar now needs version as a keyword argument. 2017-07-16 17:16:37 +02:00
Dave Halter
f94ef63ff2 Remove load_python_grammar for tests as well. 2017-05-25 13:36:40 -04:00
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