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

1
.gitignore vendored
View File

@ -47,7 +47,6 @@ python/libxslt.py
python/libxsltclass.py
python/libxsltclass.txt
python/setup.py
python/tests/foo
stamp-h1
tests/runtest
tests/xmlspec/debug

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