Dave Halter
94ce54e776
Merge with master again
...
Some bugs were still present in master
2018-01-20 21:45:55 +01:00
Dave Halter
20d64cf2b3
Fix issues with a recent refactoring
2018-01-20 21:21:58 +01: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
Dave Halter
fe813292cf
Try to migrate to the new project API
2018-01-16 23:56:35 +01:00
Hugo
73c71d6475
This test will be removed in the virtualenv branch
2018-01-07 10:40:36 +02:00
Hugo
3e8cd9f128
Use set literals
2018-01-07 10:40:36 +02:00
Hugo
cc623218e5
Replace function call with set literal
2018-01-07 10:40:06 +02:00
Hugo
5755fcb900
Replace comparison with None with equality operator
2018-01-07 10:40:06 +02:00
Hugo
7c31ea9042
Drop support for EOL Python 2.6
2018-01-07 10:40:05 +02:00
Dave Halter
db47686159
Correct the issue about has_zlib
...
It was never actually the case that travis has Python versions without zlib. I didn't realize that modifying the sys path made it impossible to import the zlib library.
2018-01-06 03:34:37 +01:00
Dave Halter
e42796ca10
Move the zip tests to the environment
2018-01-06 02:26:30 +01:00
Dave Halter
99eed91206
Only execute the zipimport tests fully if zlib is available for the environment Python.
2018-01-06 02:11:33 +01:00
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