587cfcd69f
and is shipped in share/examples. ok aja
21 lines
501 B
Plaintext
21 lines
501 B
Plaintext
https://gitlab.gnome.org/GNOME/libxml2/-/commit/97c0a9cff728f5091771509567185c26a26669b4
|
|
Index: python/tests/xpathns.py
|
|
--- python/tests/xpathns.py.orig
|
|
+++ python/tests/xpathns.py
|
|
@@ -11,6 +11,7 @@ d = libxml2.parseDoc("<a:a xmlns:a='urn:whatevar'/>")
|
|
res=""
|
|
for n in d.xpathEval("//namespace::*"):
|
|
res = res + n.serialize()
|
|
+del n
|
|
d.freeDoc()
|
|
|
|
if res != expect:
|
|
@@ -18,7 +19,6 @@ if res != expect:
|
|
print(res)
|
|
del res
|
|
del d
|
|
-del n
|
|
# Memory debug specific
|
|
libxml2.cleanupParser()
|
|
|