summaryrefslogtreecommitdiff
path: root/editors/py-vim-bridge/files/patch-tests_test__vim__bridge.py
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2021-07-06 07:40:02 +0200
committerMateusz Piotrowski <0mp@FreeBSD.org>2021-07-06 07:44:31 +0200
commit8e0a4fc28c989b11ed57040cc5afd9b7044c04f9 (patch)
tree24ffc1b38ec996f32759817dba583bc1d3a7ea1f /editors/py-vim-bridge/files/patch-tests_test__vim__bridge.py
parenteditors/py-babi: Set NO_ARCH (diff)
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
Diffstat (limited to 'editors/py-vim-bridge/files/patch-tests_test__vim__bridge.py')
-rw-r--r--editors/py-vim-bridge/files/patch-tests_test__vim__bridge.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/py-vim-bridge/files/patch-tests_test__vim__bridge.py b/editors/py-vim-bridge/files/patch-tests_test__vim__bridge.py
new file mode 100644
index 000000000000..5567616f024b
--- /dev/null
+++ b/editors/py-vim-bridge/files/patch-tests_test__vim__bridge.py
@@ -0,0 +1,11 @@
+--- 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")
+