mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-03 00:42:24 +03:00
enable libxml2 memory debug before loading libxslt since libxslt
* python/tests/*.py: enable libxml2 memory debug before loading libxslt since libxslt initialization now includes EXSLT registration which initialize the libxml2 library and allocate memory Daniel
This commit is contained in:
@ -1,10 +1,10 @@
|
||||
#!/usr/bin/python -u
|
||||
import sys
|
||||
import libxml2
|
||||
import libxslt
|
||||
|
||||
# Memory debug specific
|
||||
libxml2.debugMemory(1)
|
||||
import libxslt
|
||||
|
||||
|
||||
|
||||
styledoc = libxml2.parseFile("test.xsl")
|
||||
|
Reference in New Issue
Block a user