freebsd-ports/editors/py-vim-bridge/files/patch-tests_test__vim__bridge.py
Mateusz Piotrowski 8e0a4fc28c editors/py-vim-bridge: New port
vim_bridge is a Python-to-Vim bridge decorator that allows transparent
calls to Python functions in native Vim scripts.

WWW: https://github.com/nvie/vim_bridge
2021-07-06 07:44:31 +02:00

11 lines
404 B
Python

--- tests/test_vim_bridge.py.orig 2021-07-06 05:27:03 UTC
+++ tests/test_vim_bridge.py
@@ -80,7 +80,7 @@ class TestBridgedDecorator(unittest.TestCase):
self.assertCodeEquals(vim.command.call_args[0][0], \
"""
fun! Foo(x, y)
- python << endp
+ python3 << endp
__vim_brdg_3_x = vim.eval("a:x")
__vim_brdg_3_y = vim.eval("a:y")