diff --git a/tests/unit/job/test_genericJob.py b/tests/unit/job/test_genericJob.py index 60cc1deaa..8559e44a9 100644 --- a/tests/unit/job/test_genericJob.py +++ b/tests/unit/job/test_genericJob.py @@ -115,7 +115,7 @@ def test_compress_file_list(self): ) with contextlib.redirect_stdout(io.StringIO(newline=os.linesep)) as f: ham.files.file_to_compress.tail() - self.assertEqual(f.getvalue().replace("\r", ""), "content: file_to_compress\n") + self.assertEqual(f.getvalue().replace("\r", "").replace("\n", ""), "content: file_to_compress") ham.remove() def test_job_name(self):