X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=python%2Ftests%2Fxpathns.py;h=379535e5f02aa59b9a3ec9ea1bf1241627a19ce6;hb=4e8fa1efca3c71ef7e0c515afb175e849a97d416;hp=e67e5506e6bc146c6b69bc2c4e0fefa60a17b7cc;hpb=f1203bb16d4c806ad871c24d097983c3fa550048;p=platform%2Fupstream%2Flibxml2.git diff --git a/python/tests/xpathns.py b/python/tests/xpathns.py index e67e550..379535e 100755 --- a/python/tests/xpathns.py +++ b/python/tests/xpathns.py @@ -14,8 +14,8 @@ for n in d.xpathEval("//namespace::*"): d.freeDoc() if res != expect: - print "test5 failed: unexpected output" - print res + print("test5 failed: unexpected output") + print(res) del res del d del n @@ -23,7 +23,7 @@ del n 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()