Commit Graph

170 Commits

Author SHA1 Message Date
Dave Halter 4d896892a3 Skip some 3.3 tests for travis
Python 3.3 on travis doesn't have zip support compiled.
Just ignore tests since 3.3 is End-of-Life anyway.
2018-01-04 01:46:07 +01:00
Dave Halter 4514373de6 Use unicode strings in test to pass some tests in Python 2 2017-12-30 04:36:59 +01:00
Dave Halter a14f665b5a Use Script everywhere where cwd_at is used, otherwise Python 2.7 is annoying 2017-12-30 03:55:23 +01:00
Dave Halter f17afc6519 Try to avoid the pth tests not working because of the created virtualenv in tox 2017-12-30 03:15:28 +01:00
Dave Halter e2629b680f Test if virtualenvs and pth files work 2017-12-30 00:02:14 +01:00
Dave Halter c7266d65c1 Cleanup the docstring tests 2017-12-29 19:47:28 +01:00
Dave Halter bf73fcbed4 More test_evaluate Script fixtures 2017-12-29 19:36:05 +01:00
Dave Halter 5fc755b0cf stdlib fixture conversions 2017-12-29 19:13:15 +01:00
Dave Halter ac21fc376e More Script fixture conversions in test_evaluate 2017-12-29 19:08:09 +01:00
Dave Halter 723d6515ac Change two tests that were written in a strange way 2017-12-20 10:36:39 +01:00
Dave Halter aa7319dba5 Remove the last test failures. 2017-12-09 17:38:45 +01:00
Dave Halter 649225333f Get the subprocess mostly working 2017-12-08 09:44:12 +01:00
Dave Halter a210be8198 Don't use the create function anymore in compiled
Now the whole creation of builtin objects is abstract and was moved to subprocesses etc.
2017-12-06 15:26:29 +01:00
Dave Halter 13f8f37547 Use even more subprocess accesses 2017-12-06 15:16:27 +01:00
Dave Halter f09ca9fc20 Use access handles everywhere 2017-12-06 14:46:27 +01:00
Dave Halter 543f4f7ff2 Move some stuff from compiled to context 2017-11-29 01:03:01 +01:00
Dave Halter 47114178e9 Fake context python code is now not the base for a lot of things anymore. It just gets executed. 2017-11-28 18:26:12 +01:00
Dave Halter accf20226d Fix a few more tests 2017-11-26 22:07:13 +01:00
Dave Halter e71f0062dd Get a lot of tests passing 2017-11-26 17:48:00 +01:00
Dave Halter 51d2ffb078 Use sys path mostly from project and move some sys path stuff around. 2017-10-05 10:06:28 +02:00
Dave Halter 383f749026 Move the initial sys path generation into a new project class. 2017-10-02 20:19:55 +02:00
Dave Halter 32917d5565 Remove the function context to a separate module. 2017-09-29 15:28:17 +02:00
Dave Halter 95930d293c Move instance module to the context package. 2017-09-29 15:14:56 +02:00
Dave Halter 8f177eea07 Move the ModuleContext to a separate module. 2017-09-29 13:24:48 +02:00
Dave Halter ee52cc7501 Fix most dynamic array issues. 2017-09-26 17:26:33 +02:00
Dave Halter c51634b8d4 dict_values should be accessible for CompiledObjects. 2017-09-17 02:48:09 +02:00
Dave Halter 2210b11778 Fix some issues with import completion
Fixes #759
2017-09-14 20:09:13 +02:00
Dave Halter a8a15114ac Fix namedtuple support
There were a couple issues:
 - namedtuple with one member didn't work
 - namedtuple content access was never possible
 - operator.itemgetter didn't work properly. Corrected py__bool__ for FakeSequence

Fixes #730.
2017-09-12 11:06:39 +02:00
Dave Halter 3bceef075a Merge branch 'numpydoc' of https://github.com/bcolsen/jedi 2017-09-09 18:50:19 +02:00
Dave Halter 882f8029ea Use split_lines and python_bytes_to_unicode directly. 2017-09-03 18:38:00 +02:00
Dave Halter 7e19e49200 Start replacing get_definitions. 2017-09-02 17:48:01 +02:00
bcolsen 3422b21c62 Added Yields test 2017-08-09 00:37:29 -06:00
bcolsen 77d6de0ae5 fix test skip and py3.6 2017-08-08 23:30:02 -06:00
bcolsen d19a97f53a Numpydocs and compiled objects return types 2017-08-08 22:46:33 -06:00
micbou 175e57214e Fix instance docstring 2017-07-14 00:59:55 +02:00
micbou f5248250d8 Fix keyword docstring 2017-07-14 00:22:27 +02:00
Dave Halter e0485b032e Fix some stuff to make parso work again. 2017-06-02 00:00:31 +02:00
Dave Halter f94ef63ff2 Remove load_python_grammar for tests as well. 2017-05-25 13:36:40 -04:00
Dave Halter ef2e2f343e Fix some warnings. 2017-05-25 12:24:21 -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 b90589b62e Some changes because parso has changed. 2017-05-22 15:42:42 -04:00
Dave Halter 9bca3d39f5 Actually use parso now instead of Jedi. 2017-05-19 14:20:14 -04:00
Dave Halter 9fb7fb66da Move another test to delete a file. 2017-05-07 16:39:32 +02:00
Dave Halter d717c3bf40 Merge some import tests. 2017-05-07 16:20:49 +02:00
Dave Halter 6b7376bc5d Move some stdlib tests. 2017-05-07 16:06:01 +02:00
Dave Halter eaa5100372 Removed Scope.statements from the parser tree. 2017-04-28 18:18:58 +02:00
Dave Halter 7ca62578e1 Add py__doc__ as a better approach to docstrings. 2017-04-20 09:45:15 +02:00
Dave Halter b4631d6dd4 Progress in removing the docstring/call signature logic from the parser. 2017-04-18 18:48:05 +02:00
Dave Halter b0ac07228b Restructure/Refactor has_absolute_import a bit. 2017-04-12 08:47:30 +02:00
Dave Halter 0117f83809 Forgot to include a test for #844. 2017-04-04 20:35:32 +02:00