~ubuntu-branches/ubuntu/wily/libxml2/wily-proposed

« back to all changes in this revision

Viewing changes to python/tests/xpathns.py

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-07-11 09:31:50 UTC
  • mfrom: (43.2.4 sid)
  • Revision ID: package-import@ubuntu.com-20130711093150-t3vcnrpfqepqt0mp
Tags: 2.9.1+dfsg1-2ubuntu1
* Merged from Debian unstable. Remaining changes:
  - Fix python multi-arch includes issues. 
  - Allow the package to cross-build.
  - Set PYTHON_LIBS for cross builds.
  - Remove explicit build dependency on binutils.
  - Configure the udeb --without-python.
* Dropped patches:
  - CVE-2013-0338.patch: upstream
  - CVE-2013-1969.patch: upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
d.freeDoc()
15
15
 
16
16
if res != expect:
17
 
    print "test5 failed: unexpected output"
18
 
    print res
 
17
    print("test5 failed: unexpected output")
 
18
    print(res)
19
19
del res
20
20
del d
21
21
del n
23
23
libxml2.cleanupParser()
24
24
 
25
25
if libxml2.debugMemory(1) == 0:
26
 
    print "OK"
 
26
    print("OK")
27
27
else:
28
 
    print "Memory leak %d bytes" % (libxml2.debugMemory(1))
 
28
    print("Memory leak %d bytes" % (libxml2.debugMemory(1)))
29
29
    libxml2.dumpMemory()