mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-29 15:41:13 +03:00
python: Remove temp file when running tests/basic.py
Fixes make distcheck.
This commit is contained in:
@ -13,6 +13,7 @@ style = libxslt.parseStylesheetDoc(styledoc)
|
||||
doc = libxml2.parseFile("%s/test.xml" % basedir)
|
||||
result = style.applyStylesheet(doc, None)
|
||||
style.saveResultToFilename("foo", result, 0)
|
||||
os.remove("foo")
|
||||
stringval = style.saveResultToString(result)
|
||||
if (len(stringval) != 68):
|
||||
print("Error in saveResultToString")
|
||||
|
Reference in New Issue
Block a user