mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-01 15:48:21 +00:00
First baby steps towards dual Python2+3 compatibility
This commit is contained in:
parent
789eb85bfe
commit
fe2dd9a721
17 changed files with 319 additions and 175 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue