aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_python3.vim
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2020-01-01 11:09:01 -0800
committerGitHub <noreply@github.com>2020-01-01 11:09:01 -0800
commita495d49012586696f2244a589a4d34770ad07d17 (patch)
treedefebad6c0ac0a46427754d6a535127e148e5fd8 /src/nvim/testdir/test_python3.vim
parenta251b588acb3a561e5da695280774b9b6fbcd0ea (diff)
parent7dca8383db4d595a8e9de929aff1263c0b0b8db5 (diff)
downloadrneovim-a495d49012586696f2244a589a4d34770ad07d17.tar.gz
rneovim-a495d49012586696f2244a589a4d34770ad07d17.tar.bz2
rneovim-a495d49012586696f2244a589a4d34770ad07d17.zip
Merge #11647 from janlazo/vim-8.2.0070
vim-patch:8.2.{70,74,75,76}
Diffstat (limited to 'src/nvim/testdir/test_python3.vim')
-rw-r--r--src/nvim/testdir/test_python3.vim18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_python3.vim b/src/nvim/testdir/test_python3.vim
index 5268dc9d1e..948ef0a07f 100644
--- a/src/nvim/testdir/test_python3.vim
+++ b/src/nvim/testdir/test_python3.vim
@@ -174,8 +174,22 @@ func Test_Catch_Exception_Message()
endfunc
func Test_unicode()
+ throw 'skipped: Nvim does not support "termencoding" option and only supports "utf-8" for "encoding" option'
" this crashed Vim once
- " set encoding=utf32
+ if &tenc != ''
+ throw "Skipped: 'termencoding' is not empty"
+ endif
+
+ set encoding=utf32
py3 print('hello')
- " set encoding=utf8
+
+ if !has('win32')
+ set encoding=debug
+ py3 print('hello')
+ endif
+
+ set encoding=euc-tw
+ py3 print('hello')
+
+ set encoding=utf8
endfunc