1
0
mirror of https://github.com/gryf/pythonhelper.git synced 2025-12-18 12:00:27 +01:00

Make vim mock Python3 compatible

This commit is contained in:
2016-05-23 21:15:48 +02:00
parent 4f1dbc74bd
commit 3164a9e568

View File

@@ -7,16 +7,12 @@ import sys
class Command(object):
def __call__(self, args):
print args
print(args)
class Window(object):
def __init__(self):
self.cursor = (5, 13) # class
# self.cursor = (8, 13) # class
# self.cursor = (12, 13) # inner function
# self.cursor = (22, 13) # method
# self.cursor = (30, 13) # function
# self.cursor = (36, 13) # function
self.cursor = (1, 1)
class Current(object):
@@ -33,6 +29,7 @@ class MockVim(object):
sys.modules['vim'] = vim = MockVim
import pythonhelper