From 7a8ea224bc327b8ee929379d577c74968ea1c352 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 1 Sep 2025 23:52:43 +0200 Subject: Fix issue introduced in f073444 The continuous integration on 0xacab didn't run, so it didn't catch this issue. It seems like we'll have to move to github or whatever instead, sigh. --- tests/test_libmat2.py | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'tests/test_libmat2.py') diff --git a/tests/test_libmat2.py b/tests/test_libmat2.py index 19e47aa..571f92d 100644 --- a/tests/test_libmat2.py +++ b/tests/test_libmat2.py @@ -4,6 +4,7 @@ import unittest import shutil import os import re +import sys import tarfile import tempfile import zipfile @@ -638,10 +639,20 @@ class TestCleaning(unittest.TestCase): os.remove('./tests/data/clean.cleaned.html') os.remove('./tests/data/clean.cleaned.cleaned.html') - with open('./tests/data/clean.html', 'w') as f: - f.write('