First baby steps towards dual Python2+3 compatibility

This commit is contained in:
Sei Lisa 2019-01-15 20:27:02 +01:00
parent 789eb85bfe
commit fe2dd9a721
17 changed files with 319 additions and 175 deletions

View file

@ -1,4 +1,5 @@
import sys
from strutil import *
from lslopt.lslfuncs import *
tests = 0
@ -7,7 +8,6 @@ errors = 0
# Begin JSON tests from http://wiki.secondlife.com/wiki/Json_usage_in_LSL/TestScript
def verify(msg, result, expected):
global tests
werr = sys.stderr.write
tests += 1
if expected != result:
global errors
@ -356,7 +356,6 @@ def test_jira_fixes():
maint3081();
def run_tests():
werr = sys.stderr.write
# JSON tests from the wiki
test_types();
test_get_value();