Add python3 failing tests
This commit is contained in:
parent
a80846e35d
commit
1cdbe4a770
@ -23,7 +23,7 @@ from nose.tools import ok_
|
|||||||
from ycm.paths import EndsWithPython
|
from ycm.paths import EndsWithPython
|
||||||
|
|
||||||
|
|
||||||
def EndsWithPython_PythonPaths_test():
|
def EndsWithPython_Python2Paths_test():
|
||||||
python_paths = [
|
python_paths = [
|
||||||
'python',
|
'python',
|
||||||
'/usr/bin/python2.6',
|
'/usr/bin/python2.6',
|
||||||
@ -35,10 +35,12 @@ def EndsWithPython_PythonPaths_test():
|
|||||||
ok_( EndsWithPython( path ) )
|
ok_( EndsWithPython( path ) )
|
||||||
|
|
||||||
|
|
||||||
def EndsWithPython_NotPythonPaths_test():
|
def EndsWithPython_NotPython2Paths_test():
|
||||||
not_python_paths = [
|
not_python_paths = [
|
||||||
'/opt/local/bin/vim',
|
'/opt/local/bin/vim',
|
||||||
r'C:\Program Files\Vim\vim74\gvim.exe'
|
r'C:\Program Files\Vim\vim74\gvim.exe',
|
||||||
|
'/usr/bin/python3',
|
||||||
|
'/home/user/.pyenv/shims/python3',
|
||||||
]
|
]
|
||||||
|
|
||||||
for path in not_python_paths:
|
for path in not_python_paths:
|
||||||
|
Loading…
Reference in New Issue
Block a user