YouCompleteMe/python/ycm/tests
Homu 8d5f164feb Auto merge of #1896 - micbou:path-to-python-interpreter, r=Valloric
[READY] Implement new strategy to find the Python interpreter path

See discussion in issue #1891 for details.

Implement a new strategy to find the Python interpreter path:
  - if specified, use `g:ycm_path_to_python_interpreter` option.
  - on UNIX platforms, use `sys.executable` as the path to Python interpreter;
  - on Windows, deduce it from `os.__file__` path (it should always be in the parent folder).

In all cases, check the version (2.6 or 2.7) of the Python interpreter path by running it.

This PR may break things. It needs thorough testing.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/1896)
<!-- Reviewable:end -->
2016-01-25 08:24:34 +09:00
..
testdata Now extracting PHP functions. 2014-09-02 10:53:38 -07:00
__init__.py Support subcommands which return detailed info 2015-09-20 21:30:23 +01:00
base_test.py Custom identifier support now done. 2014-08-28 11:39:10 -07:00
event_notification_test.py Add tests for YouCompleteMe.ValidateParseRequest 2015-12-24 21:06:44 +00:00
omni_completion_request_tests.py Add missing implementation on OmniCompletionRequest 2016-01-16 11:36:58 -07:00
paths_test.py Fix typo in test 2016-01-12 22:51:15 +01:00
postcomplete_tests.py Add tests for YouCompleteMe.ValidateParseRequest 2015-12-24 21:06:44 +00:00
syntax_parse_test.py Support subcommands which return detailed info 2015-09-20 21:30:23 +01:00
vimsupport_test.py Update buffers-related tests 2015-11-11 14:18:26 +01:00