Hugo
7c31ea9042
Drop support for EOL Python 2.6
2018-01-07 10:40:05 +02:00
Dave Halter
2210b11778
Fix some issues with import completion
...
Fixes #759
2017-09-14 20:09:13 +02: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
c6248ae169
Some testing fixes that were broken with the few previous commits.
2016-12-06 18:18:53 +01:00
Dave Halter
6940900c58
A lot more fixes - fix all evaluate integration tests.
2016-12-03 22:17:38 +01:00
Dmitry Sadovnychyi
60484707a0
Add support for ZIP and EGG packages in imports
2016-07-25 20:29:02 +08:00
Dave Halter
5280f567f9
The docstring of import completions was wrong.
...
This is fixed now. However, since this might massively decrease performance,
it's not enabled by default. You can enable it with `docstring(fast=False)`
(see test changes), but I wouldn't recommend it at this point.
Fixes #656 .
2016-07-09 01:04:15 +02:00
Dave Halter
306d274a3d
Merge dev into linter.
2015-11-10 21:52:18 +01:00
immerrr
fb592ad028
test_imports: add test to ensure caching works with sys_path
2015-10-26 13:03:42 +03:00
immerrr
90a08794ba
test_imports: use sys_path
2015-10-26 13:03:42 +03:00
Dave Halter
f77712ddf1
Test to assure that imports are not loaded twice.
2015-10-10 19:49:40 +02:00
Dave Halter
eb146adcc1
Modules that are not importable shouldn't cause Jedi to stop working (just issue a warning). Fixes #468 , #71 .
2015-03-06 11:13:04 +01:00
Dave Halter
33b39c2b5d
Don't use the old setup_function/teardown_function pytest stuff. It's very implicit and hard to understand.
2014-12-07 17:21:52 +01:00
Dave Halter
49b34b4d01
Stuff mostly related to namespace packages.
2014-12-07 16:51:54 +01:00
Albertas Agejevas
ab486ba84f
List old-style flask extensions, too.
2014-07-27 17:00:17 +02:00
Albertas Agejevas
7f45bfe689
More on #361 : enumerate new-style flask extensions.
2014-07-27 16:08:26 +02:00
Albertas Agejevas
5edd2274b2
Fix an exception in the flask ext code.
2014-07-27 15:04:55 +02:00
Albertas Agejevas
a18f8a7cbb
Make tests terser. pytest rules!
2014-07-27 15:04:46 +02:00
Albertas Agejevas
13c1f79d5c
A stab at davidhalter/jedi#361 (Flask extension imports)
...
Both new-style and old-style extensions work, but only when imported
with a 'from'. There are two skipped tests of the full dotted name
imports.
Also, our fixture has a normal flaskext package, whereas in practice
the flaskext module is injected from a pth file and does not have
__init__.py, we need to figure out to handle that.
2014-07-27 15:04:31 +02:00
Dave Halter
5aa6c770b3
refactor follow_definition tests
2014-03-23 12:40:33 +01:00
Dave Halter
fa0502d762
again testing improvements. follow_definitions imports are now pretty much covered
2014-03-21 13:50:29 +01:00
Dave Halter
eeeeee49f5
new tests for that whole import mess
2014-03-21 11:12:40 +01:00
Dave Halter
58026c6542
temporary conversion of the imports module to separate import processing from actually importing things
2014-03-19 16:40:38 +01:00
Dave Halter
9f12352ec1
tests for import completions and a following follow_definition call
2014-03-17 11:58:29 +01:00
Dave Halter
8660555d7b
moved api, parser and evaluate test directories to test_api, test_parser...
2014-01-29 21:16:18 +01:00