Edits to test codes to use pyRXPU rather than pyRXP
authorMatthew Pitkin <pitkin@gmail.com>
Sat, 05 Mar 2016 16:24:47 +0000
changeset 52 6cc05110ab44
parent 51 d279cb0c50ff
child 53 3a3f172a62bf
Edits to test codes to use pyRXPU rather than pyRXP
test/leaktest.py
test/tpyRXP.py
--- a/test/leaktest.py	Sat Mar 05 16:10:56 2016 +0000
+++ b/test/leaktest.py	Sat Mar 05 16:24:47 2016 +0000
@@ -1,13 +1,13 @@
 def test1(n):
 	print 'starting test1'
-	import pyRXP, sys
+	import pyRXPU, sys
 	xml='<start><tag1>text here</tag1><tag1>more text</tag1></start>'
 	P = i = tup = None
 	for i in xrange(n):
-		P=pyRXP.Parser()
+		P=pyRXPU.Parser()
 		tup=P(xml)
 		sys.stdout.write('.')
-	del n, pyRXP, sys, P, tup, xml
+	del n, pyRXPU, sys, P, tup, xml
 	print '\ntest2 done'
 
 def test2(n):
--- a/test/tpyRXP.py	Sat Mar 05 16:10:56 2016 +0000
+++ b/test/tpyRXP.py	Sat Mar 05 16:24:47 2016 +0000
@@ -1,4 +1,5 @@
-import sys, os, pyRXP, pprint, time
+import sys, os, pprint, time
+import pyRXPU as pyRXP
 
 def test(fn):
 	cwd = os.getcwd()