--- embedaddon/libxml2/python/tests/cutnpaste.py 2012/02/21 23:38:00 1.1.1.1 +++ embedaddon/libxml2/python/tests/cutnpaste.py 2014/06/15 19:53:34 1.1.1.2 @@ -35,14 +35,14 @@ source.freeDoc() # check the resulting tree str = dest.serialize() if str != """""": - print "reconciliateNs() failed" + print("reconciliateNs() failed") sys.exit(1) target.freeDoc() # Memory debug specific libxml2.cleanupParser() if libxml2.debugMemory(1) == 0: - print "OK" + print("OK") else: - print "Memory leak %d bytes" % (libxml2.debugMemory(1)) + print("Memory leak %d bytes" % (libxml2.debugMemory(1))) libxml2.dumpMemory()