diff options
Diffstat (limited to 'python/tests/attribs.py')
-rwxr-xr-x | python/tests/attribs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/python/tests/attribs.py b/python/tests/attribs.py index 99132c2..9331a27 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] != """<!ATTLIST test abc:attr CDATA #FIXED "def">""": - 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() |