Dave Halter
4d980d8bd0
Reorder tests to make the async stuff pass on all python versions
2018-02-21 01:28:37 +01:00
Dave Halter
c1d06f4638
Getting more edget cases work in 3.6 for async
2018-02-21 01:11:59 +01:00
Dave Halter
bc0210af70
Use the await method properly and just use it instead of some crazy things
2018-02-21 00:27:15 +01:00
Dave Halter
bf01b9d47c
Refactor the way builtins can be overwritten by jedi's own contexts
2018-02-21 00:09:41 +01:00
Dave Halter
8f4b68ae39
Merge the async branch
2018-02-18 13:45:08 +01:00
Dave Halter
482b5e63db
Move the buildout_project stuff to a separate examples folder
2018-02-16 15:01:40 +01:00
Dave Halter
c23005f988
Use generators instead of complicated return of lists
2018-02-16 14:50:07 +01:00
Dave Halter
039e7ba07b
Some more sys path corrections.
...
The sys path should be defined more or less in the beginning and not be different for all modules
2018-02-16 14:39:01 +01:00
Dave Halter
9177c120f4
Merge the implicit namespace improvement (pkgutils.itermodules modification)
...
There are still a few issues that need to be addressed.
2018-02-15 20:08:58 +01:00
Dave Halter
76df356628
Relative imports should be working again even when used in more special occasions. Fixes #973
...
There are more fixes needed. Some things are just very unclean and might lead to further bugs.
2018-02-15 14:10:01 +01:00
Dave Halter
514eaf89c3
Prepare a test to eventually solve a relative import problem
2018-02-12 20:33:48 +01:00
Dave Halter
fe0e41e9d6
Fix some more dict.get/dict.values stuff
2018-02-02 18:24:18 +01:00
Dave Halter
8028138e8c
Implememnt dict.values for FakeDict to avoid a recursion error. Fixes #1014 .
2018-02-02 09:34:40 +01:00
Dave Halter
ebe8123b4c
Finding the autocompletion stack is a bit more complicated than I initially thought
...
Fixes #968 .
2018-01-31 08:45:01 +01:00
Dave Halter
522e7123ed
Move the ahead of time tests to the pep0526 file
2018-01-31 00:18:17 +01:00
Dave Halter
3ae0560f1c
Fix an issue where a default value was wrongly used
2018-01-31 00:11:30 +01:00
Dave Halter
2b9429be38
Update the ahead of time tests
2018-01-30 23:09:42 +01:00
Dave Halter
6b535c0503
Fix the last remaining issues with ahead of time annotations, see #982
2018-01-30 01:19:55 +01:00
Dave Halter
d2c0de3eb0
Merge branch 'master' of https://github.com/johannesmik/jedi
2018-01-30 01:02:07 +01:00
Dave Halter
60f89522a7
Forgot to add the examples folder
2018-01-30 00:08:17 +01:00
Dave Halter
c9fa335145
Fix a goto_assignments issue with a better internal API
...
Fixes #996 .
2018-01-29 08:58:59 +01:00
Dave Halter
82dc83e150
Merge remote-tracking branch 'origin/master' into virtualenv
2018-01-29 00:56:55 +01:00
Dave Halter
febe65f737
Disable predefined name analysis (if stmts) for all non-analysis tasks
...
It's really buggy and caused quite a few issues
2018-01-29 00:56:29 +01:00
Dave Halter
fc458a3c2a
inspect.signature throws weird errors sometimes, just make it a bit simpler
...
Fixes #1031
2018-01-26 01:30:10 +01:00
Dave Halter
d44385c25e
Fix the implicit namespace test
2018-01-26 01:16:08 +01:00
Dave Halter
04fba28d35
Differentiate between namespace and module as a type
...
Also fixed a bug related to implicit namespace contexts, fixes #1033 .
2018-01-25 20:35:54 +01:00
Daniel Hahler
6bab112bb7
test/completion/imports.py: fix typo in comment
2018-01-25 07:57:43 +01:00
Dave Halter
68f840de60
Refactor django path support
2018-01-24 19:13:05 +01:00
Dave Halter
98a3da674c
Ahhh another bug... A bit stupid of me not to run the tests
2018-01-20 22:00:41 +01:00
Dave Halter
fc315108f0
Get rid of a cwd to tmpdir, because with the subprocess it doesn't behave the same depending on which tests you run first
2018-01-20 21:56:56 +01:00
Dave Halter
256f001480
Another small issue in the tests
2018-01-20 21:47:31 +01:00
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
877383b110
Add a test to avoid encoding issues. Fixes #1003
2018-01-20 18:28:29 +01:00
Dave Halter
9b5e3447d9
Make the new project API fully work in tests
2018-01-17 09:54:11 +01:00
Dave Halter
fe813292cf
Try to migrate to the new project API
2018-01-16 23:56:35 +01:00
micbou
3a0ac37ee8
Fix error when using generators with variable-length arguments
2018-01-13 18:56:34 +01:00
Hugo
73c71d6475
This test will be removed in the virtualenv branch
2018-01-07 10:40:36 +02:00
Hugo
7e449af4bd
Revert changes to test/completion and test/static_analysis except for 2.6 comment removal
2018-01-07 10:40:36 +02:00
Hugo
3e8cd9f128
Use set literals
2018-01-07 10:40:36 +02:00
Hugo
f56035182c
Remove trailing semicolons
2018-01-07 10:40:06 +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
8cf708d0d4
Remove redundant parentheses
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
db1a4415b3
Some tests that involved jedi were actually a bit wrong and only worked in certain environments.
2018-01-05 00:48:40 +01:00