python3: Use six.text_type instead direct unicode/str

This commit is contained in:
Tomas Babej 2016-12-16 03:40:42 +01:00
parent 91af39e17e
commit 29c6c1d29c
5 changed files with 12 additions and 6 deletions

View file

@ -2,6 +2,7 @@
import os
import re
import six
import subprocess
import tempfile
import vimrunner
@ -29,8 +30,8 @@ class IntegrationTest(object):
def read_buffer(self, start=0, end=1000):
return self.client.read_buffer(
unicode(start+1),
unicode(end+1)
six.text_type(start+1),
six.text_type(end+1)
).splitlines()