From 2c8fe012ef1ff6e0613480dd182dec099aa9636e Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Sun, 9 Jun 2013 00:17:44 +0800 Subject: Imported Upstream version 2.9.1 --- python/tests/attribs.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'python/tests/attribs.py') diff --git a/python/tests/attribs.py b/python/tests/attribs.py index 9331a27..99132c2 100755 --- a/python/tests/attribs.py +++ b/python/tests/attribs.py @@ -20,7 +20,7 @@ doc = libxml2.parseDoc( elem = doc.getRootElement() attr = elem.hasNsProp('attr', 'http://abc.org') if attr == None or attr.serialize()[:-1] != """""": - print "Failed to find defaulted attribute abc:attr" + print("Failed to find defaulted attribute abc:attr") sys.exit(1) doc.freeDoc() @@ -28,7 +28,7 @@ doc.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() -- cgit v1.2.3