From 1cdbe4a770c6b721b819b1ed6fde99068416a614 Mon Sep 17 00:00:00 2001 From: micbou Date: Tue, 12 Jan 2016 22:48:48 +0100 Subject: [PATCH] Add python3 failing tests --- python/ycm/tests/paths_test.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python/ycm/tests/paths_test.py b/python/ycm/tests/paths_test.py index b7a43702..13c75dcc 100644 --- a/python/ycm/tests/paths_test.py +++ b/python/ycm/tests/paths_test.py @@ -23,7 +23,7 @@ from nose.tools import ok_ from ycm.paths import EndsWithPython -def EndsWithPython_PythonPaths_test(): +def EndsWithPython_Python2Paths_test(): python_paths = [ 'python', '/usr/bin/python2.6', @@ -35,10 +35,12 @@ def EndsWithPython_PythonPaths_test(): ok_( EndsWithPython( path ) ) -def EndsWithPython_NotPythonPaths_test(): +def EndsWithPython_NotPython2Paths_test(): not_python_paths = [ '/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: