mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-18 21:33:07 +02:00
python3: Use six.text_type instead direct unicode/str
This commit is contained in:
parent
91af39e17e
commit
29c6c1d29c
5 changed files with 12 additions and 6 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue