Dave Halter
24a1bbb3ca
Even more super deletions
2020-07-02 12:29:10 +02:00
Dave Halter
332631434c
Remove some unnecessary utf-8 references
2020-07-02 03:30:41 +02:00
Dave Halter
155a1dd3fc
A mistaken deletion in appveyor
2020-07-02 03:12:03 +02:00
Dave Halter
0cd6a8f5cc
Remove is_py3 and is_py35
2020-07-02 02:23:33 +02:00
Dave Halter
50b85153ce
Remove a lot of test references to Python 2/3.5
2020-07-02 00:17:21 +02:00
Dave Halter
8000d425ec
Don't use desc_with_module in integration tests
2020-03-21 01:47:00 +01:00
Dave Halter
2f651966e7
Make jedi testing explanations better
2020-03-19 02:13:01 +01:00
Dave Halter
d26926a582
Definition -> Name
2020-03-17 09:33:12 +01:00
Dave Halter
fd23946de3
Avoid universal newlines even more
2020-03-01 01:12:47 +01:00
Dave Halter
a892887b04
Remove Python 3.4 support
2020-02-27 02:04:03 +01:00
Dave Halter
58f54d8391
find_references -> get_references, see #1476
2020-01-22 01:06:37 +01:00
Dave Halter
e1564da23d
Make sure to find both stubs and non-stubs with usages
2020-01-13 20:45:53 +01:00
Dave Halter
d8deceb4b1
Make sure fixture resolving works in conftest.py, see #791
2020-01-06 23:27:25 +01:00
Dave Halter
9824929ad1
Use Python 3.7 for calculating test coverage
2020-01-02 00:23:25 +01:00
Dave Halter
73161fe72e
Skip pytest tests when environments is not the same one
2019-12-27 16:54:11 +01:00
Dave Halter
f03c70e577
Refactor run.py to use the new API
2019-12-20 17:25:44 +01:00
Levente Polyak
527ef6fcdd
fix static analysis test skips with latest pytest
...
Latest pytest ensures pytest.skip is being called with a str parameter.
However, test_static_analysis passed over the skip parameter which
contains a tuple returned from skip_python_version leading to test
regression.
Unify the version skip reasons for both, static analysis and integration
tests by using a shared BaseTestCase parent to avoid code duplication.
Furthermore handle test_static_analysis skip_reason extraction
orthogonal to test_completion.
2019-09-21 21:42:05 +02:00
Dave Halter
4cbe2898c0
Fix usage tests
...
With those tests fixed, everything should pass again
2019-08-21 01:01:09 +02:00
Dave Halter
0c419a5094
Fix class tests
2019-08-17 23:52:52 +02:00
Dave Halter
680388a7e8
More fixes
2019-08-17 17:01:21 +02:00
Dave Halter
c6d2aa6da2
Some small improvements
2019-08-16 16:44:03 +02:00
Dave Halter
165639c1dd
Start implementing the bulk of the context/value separation
2019-08-16 16:12:12 +02:00
Dave Halter
03920502c4
infer_state -> inference_state
2019-08-16 11:44:30 +02:00
Dave Halter
ad4f546aca
context -> value
2019-08-15 01:23:06 +02:00
Dave Halter
a5dff65142
Evaluator -> InferState
2019-08-15 00:37:51 +02:00
Dave Halter
8157d119a7
eval_ -> infer_
2019-08-15 00:20:01 +02:00
Dave Halter
3b4f292464
Move the evaluate package to inference
2019-08-15 00:14:26 +02:00
Dave Halter
7f3e55df02
Fix conversion for contexts
2019-06-10 18:56:37 +02:00
Dave Halter
95f3aed82c
Eliminate more actual appearances
2019-06-10 16:16:34 +02:00
Dave Halter
30526c564e
Correct some regex SyntaxWarnings
2019-06-03 00:06:23 +02:00
micbou
744662d096
Fix resource warnings
2019-05-21 13:35:12 +02:00
Dave Halter
655344c09c
Merge branch 'master' into pytest
2019-05-20 00:21:57 +02:00
Dave Halter
079783e3a1
Move trying to resolve stubs to a different place
2019-05-10 22:33:49 +02:00
Dave Halter
ab8d7e8659
Running a test should not fail if nothing is selected
2019-03-28 08:59:59 +01:00
Dave Halter
78f0cc9e8a
Better indentation when running run.py
2018-09-29 01:19:36 +02:00
Daniel Hahler
a34ee5bb92
Revisit pytest config
...
- add testpaths setting
- tox: remove testpaths from posargs default
- s/py.test/pytest/
2018-06-30 23:02:39 +02:00
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