Enable testing for python3 too. (#955)
This gives us back testing parity to before CI broke - and hooray, all tests still pass!
This commit is contained in:
parent
662e036028
commit
6ee724a1ce
@ -11,6 +11,9 @@ env:
|
||||
- VIM_VERSION="7.4" PYTHON_IMAGE=2.7-stretch TAG=vim_74_py2 DOCKER_CACHE_FILE=/home/travis/docker/vim_74_py2.tar.gz
|
||||
- VIM_VERSION="8.0" PYTHON_IMAGE=2.7-stretch TAG=vim_80_py2 DOCKER_CACHE_FILE=/home/travis/docker/vim_80_py2.tar.gz
|
||||
- VIM_VERSION="git" PYTHON_IMAGE=2.7-stretch TAG=vim_git_py2 DOCKER_CACHE_FILE=/home/travis/docker/vim_git_py2.tar.gz
|
||||
- VIM_VERSION="7.4" PYTHON_IMAGE=3.6-stretch TAG=vim_74_py3 DOCKER_CACHE_FILE=/home/travis/docker/vim_74_py3.tar.gz
|
||||
- VIM_VERSION="8.0" PYTHON_IMAGE=3.6-stretch TAG=vim_80_py3 DOCKER_CACHE_FILE=/home/travis/docker/vim_80_py3.tar.gz
|
||||
- VIM_VERSION="git" PYTHON_IMAGE=3.6-stretch TAG=vim_git_py3 DOCKER_CACHE_FILE=/home/travis/docker/vim_git_py3.tar.gz
|
||||
|
||||
before_install: scripts/load_docker_cache.sh
|
||||
install:
|
||||
|
@ -184,6 +184,9 @@ class VimTestCase(unittest.TestCase, TempFileManager):
|
||||
if not self.interrupt:
|
||||
# Go into insert mode and type the keys but leave Vim some time to
|
||||
# react.
|
||||
if PYTHON3:
|
||||
text = 'i' + self.keys
|
||||
else:
|
||||
text = u'i' + self.keys.decode("utf-8")
|
||||
while text:
|
||||
to_send = None
|
||||
|
Loading…
Reference in New Issue
Block a user