diff options
Diffstat (limited to 'python')
46 files changed, 0 insertions, 47 deletions
diff --git a/python/tests/attribs.py b/python/tests/attribs.py index 9170cb7a..16d22f1f 100755 --- a/python/tests/attribs.py +++ b/python/tests/attribs.py @@ -31,4 +31,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/build.py b/python/tests/build.py index 1ff4a5b9..fa894570 100755 --- a/python/tests/build.py +++ b/python/tests/build.py @@ -56,4 +56,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/compareNodes.py b/python/tests/compareNodes.py index 322754d8..9bf6482b 100755 --- a/python/tests/compareNodes.py +++ b/python/tests/compareNodes.py @@ -47,4 +47,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/ctxterror.py b/python/tests/ctxterror.py index 4823194b..4646c2df 100755 --- a/python/tests/ctxterror.py +++ b/python/tests/ctxterror.py @@ -53,4 +53,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/cutnpaste.py b/python/tests/cutnpaste.py index 6134d88b..53eafc45 100755 --- a/python/tests/cutnpaste.py +++ b/python/tests/cutnpaste.py @@ -45,4 +45,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/dtdvalid.py b/python/tests/dtdvalid.py index dc3af120..8f461af4 100755 --- a/python/tests/dtdvalid.py +++ b/python/tests/dtdvalid.py @@ -28,5 +28,4 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/error.py b/python/tests/error.py index 09102adb..932751ff 100755 --- a/python/tests/error.py +++ b/python/tests/error.py @@ -48,4 +48,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/inbuf.py b/python/tests/inbuf.py index 10a9cf0f..d1225cf3 100755 --- a/python/tests/inbuf.py +++ b/python/tests/inbuf.py @@ -26,5 +26,4 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/indexes.py b/python/tests/indexes.py index d64dfb81..14b5f11d 100755 --- a/python/tests/indexes.py +++ b/python/tests/indexes.py @@ -110,4 +110,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/nsdel.py b/python/tests/nsdel.py index 7d4aa96f..435da61b 100755 --- a/python/tests/nsdel.py +++ b/python/tests/nsdel.py @@ -59,4 +59,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/outbuf.py b/python/tests/outbuf.py index 2bafcc83..cdd93518 100755 --- a/python/tests/outbuf.py +++ b/python/tests/outbuf.py @@ -107,4 +107,3 @@ if __name__ == '__main__': print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/push.py b/python/tests/push.py index 0b6ae1d3..2c69d729 100755 --- a/python/tests/push.py +++ b/python/tests/push.py @@ -32,4 +32,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/pushSAX.py b/python/tests/pushSAX.py index a2df0a87..ebe62c98 100755 --- a/python/tests/pushSAX.py +++ b/python/tests/pushSAX.py @@ -61,4 +61,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/pushSAXhtml.py b/python/tests/pushSAXhtml.py index eabbfcae..c4126544 100755 --- a/python/tests/pushSAXhtml.py +++ b/python/tests/pushSAXhtml.py @@ -62,4 +62,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/reader.py b/python/tests/reader.py index d8e6fff1..870abf20 100755 --- a/python/tests/reader.py +++ b/python/tests/reader.py @@ -443,4 +443,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/reader2.py b/python/tests/reader2.py index 9d3b7065..66b5c2d0 100755 --- a/python/tests/reader2.py +++ b/python/tests/reader2.py @@ -334,4 +334,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/reader3.py b/python/tests/reader3.py index 6507a7bd..d3241029 100755 --- a/python/tests/reader3.py +++ b/python/tests/reader3.py @@ -157,4 +157,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/reader4.py b/python/tests/reader4.py index 5aeed28e..aea4bf4d 100755 --- a/python/tests/reader4.py +++ b/python/tests/reader4.py @@ -47,4 +47,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/reader5.py b/python/tests/reader5.py index 19d1c3be..6f382519 100755 --- a/python/tests/reader5.py +++ b/python/tests/reader5.py @@ -46,4 +46,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/reader6.py b/python/tests/reader6.py index 7d293c65..75a6f799 100755 --- a/python/tests/reader6.py +++ b/python/tests/reader6.py @@ -125,4 +125,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/reader7.py b/python/tests/reader7.py index 8cb7a731..f1735caa 100755 --- a/python/tests/reader7.py +++ b/python/tests/reader7.py @@ -98,4 +98,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/reader8.py b/python/tests/reader8.py index 1e4b7c00..6e0a70ad 100755 --- a/python/tests/reader8.py +++ b/python/tests/reader8.py @@ -33,4 +33,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/readererr.py b/python/tests/readererr.py index 6c9f85ec..9c518215 100755 --- a/python/tests/readererr.py +++ b/python/tests/readererr.py @@ -53,4 +53,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/readernext.py b/python/tests/readernext.py index 112283ee..cf5f0156 100755 --- a/python/tests/readernext.py +++ b/python/tests/readernext.py @@ -83,4 +83,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/regexp.py b/python/tests/regexp.py index ccef3f66..74b4c919 100755 --- a/python/tests/regexp.py +++ b/python/tests/regexp.py @@ -29,4 +29,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/relaxng.py b/python/tests/relaxng.py index 277ac5f5..63b77e09 100755 --- a/python/tests/relaxng.py +++ b/python/tests/relaxng.py @@ -44,5 +44,4 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/resolver.py b/python/tests/resolver.py index c39edc9f..cb66c6f0 100755 --- a/python/tests/resolver.py +++ b/python/tests/resolver.py @@ -40,5 +40,4 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/schema.py b/python/tests/schema.py index 28501f8b..de5cd456 100755 --- a/python/tests/schema.py +++ b/python/tests/schema.py @@ -48,5 +48,4 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/serialize.py b/python/tests/serialize.py index 6c8a94ec..7fea7aaa 100755 --- a/python/tests/serialize.py +++ b/python/tests/serialize.py @@ -147,4 +147,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/sync.py b/python/tests/sync.py index a9a89c7d..29b4a653 100755 --- a/python/tests/sync.py +++ b/python/tests/sync.py @@ -135,4 +135,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/thread2.py b/python/tests/thread2.py index 9a171e9a..4722592c 100755 --- a/python/tests/thread2.py +++ b/python/tests/thread2.py @@ -96,4 +96,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/tst.py b/python/tests/tst.py index d528bf0c..6887cac3 100755 --- a/python/tests/tst.py +++ b/python/tests/tst.py @@ -25,4 +25,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/tstLastError.py b/python/tests/tstLastError.py index ea57e397..45c99f00 100755 --- a/python/tests/tstLastError.py +++ b/python/tests/tstLastError.py @@ -15,7 +15,6 @@ class TestCase(unittest.TestCase): def tearDown(self): libxml2.cleanupParser() if libxml2.debugMemory(1) != 0: - libxml2.dumpMemory() self.fail("Memory leak %d bytes" % (libxml2.debugMemory(1),)) else: print("OK") diff --git a/python/tests/tstURI.py b/python/tests/tstURI.py index b3ac87b9..04543d7d 100755 --- a/python/tests/tstURI.py +++ b/python/tests/tstURI.py @@ -38,4 +38,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/tstmem.py b/python/tests/tstmem.py index a9dbdea2..70477275 100755 --- a/python/tests/tstmem.py +++ b/python/tests/tstmem.py @@ -38,4 +38,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/tstxpath.py b/python/tests/tstxpath.py index ea490127..45b2833e 100755 --- a/python/tests/tstxpath.py +++ b/python/tests/tstxpath.py @@ -60,4 +60,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/validDTD.py b/python/tests/validDTD.py index 1afb93f5..5d1c9c81 100755 --- a/python/tests/validDTD.py +++ b/python/tests/validDTD.py @@ -55,5 +55,4 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/validRNG.py b/python/tests/validRNG.py index 0b3d60eb..72978688 100755 --- a/python/tests/validRNG.py +++ b/python/tests/validRNG.py @@ -72,5 +72,4 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/validSchemas.py b/python/tests/validSchemas.py index b68747dc..f5929100 100755 --- a/python/tests/validSchemas.py +++ b/python/tests/validSchemas.py @@ -79,5 +79,4 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/validate.py b/python/tests/validate.py index afdf0e9f..830b5da3 100755 --- a/python/tests/validate.py +++ b/python/tests/validate.py @@ -79,4 +79,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/walker.py b/python/tests/walker.py index 62b48dc1..99d89135 100755 --- a/python/tests/walker.py +++ b/python/tests/walker.py @@ -141,4 +141,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/xpath.py b/python/tests/xpath.py index 816de8a3..9736bde7 100755 --- a/python/tests/xpath.py +++ b/python/tests/xpath.py @@ -48,4 +48,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/xpathext.py b/python/tests/xpathext.py index 69e1fc95..2506287e 100755 --- a/python/tests/xpathext.py +++ b/python/tests/xpathext.py @@ -46,4 +46,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/xpathleak.py b/python/tests/xpathleak.py index 438c13f5..6814baeb 100755 --- a/python/tests/xpathleak.py +++ b/python/tests/xpathleak.py @@ -51,5 +51,3 @@ if leakedbytes == 0: print("OK") else: print("Memory leak", leakedbytes, "bytes") - # drop file to .memdump file in cwd, but won't work if not compiled in - libxml2.dumpMemory() diff --git a/python/tests/xpathns.py b/python/tests/xpathns.py index a4509052..7fe4235d 100755 --- a/python/tests/xpathns.py +++ b/python/tests/xpathns.py @@ -26,4 +26,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() diff --git a/python/tests/xpathret.py b/python/tests/xpathret.py index 8517c42d..219c2ed3 100755 --- a/python/tests/xpathret.py +++ b/python/tests/xpathret.py @@ -54,4 +54,3 @@ if libxml2.debugMemory(1) == 0: print("OK") else: print("Memory leak %d bytes" % (libxml2.debugMemory(1))) - libxml2.dumpMemory() |