1
0
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:
Nick Wellnhofer
2023-04-26 16:36:33 +02:00
parent c09eb2ff75
commit 6bbef7f3b7
2 changed files with 1 additions and 1 deletions

View File

@ -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")