diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2023-04-26 16:36:33 +0200 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2023-04-26 16:37:28 +0200 |
commit | 6bbef7f3b7ea74600bef8960f8e9371f7d2ccef8 (patch) | |
tree | a10008ff359b89751f4b0d9f1273562d09a654f3 | |
parent | c09eb2ff75d803a8d094438072acb16c3ef6a3ea (diff) | |
download | libxslt-6bbef7f3b7ea74600bef8960f8e9371f7d2ccef8.tar.gz |
python: Remove temp file when running tests/basic.py
Fixes make distcheck.
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | python/tests/basic.py | 1 |
2 files changed, 1 insertions, 1 deletions
@@ -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 diff --git a/python/tests/basic.py b/python/tests/basic.py index a9d71188..437c9f53 100755 --- a/python/tests/basic.py +++ b/python/tests/basic.py @@ -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") |