From a0bc8662ecb16ecbb5c7cbf43eff010c840781ef Mon Sep 17 00:00:00 2001 From: Rijnder Wever Date: Thu, 12 Dec 2024 14:58:57 +0100 Subject: [PATCH] tests: remove note about caveat on *dos Apperently, this particulair test runs fine on windows as-is --- tests/test_mdto_voorbeelden.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_mdto_voorbeelden.py b/tests/test_mdto_voorbeelden.py index bc55d9f..5a0ebb4 100644 --- a/tests/test_mdto_voorbeelden.py +++ b/tests/test_mdto_voorbeelden.py @@ -108,7 +108,6 @@ def test_file_saving(voorbeeld_archiefstuk_xml, tmp_path_factory): informatieobject.save(outfile) # MDTO uses CRLF (DOS) line endings. Convert them to UNIX line endings. - # FIXME: this is probably not needed on *dos systems? with open(voorbeeld_archiefstuk_xml, "rb") as f: # Example files also contain newlines at the end of files, so add this voorbeeld_archiefstuk_xml_lf_endings = b"\n".join(f.read().splitlines()) + b"\n"