From 5b627dd103bf9fe14692d8032ff784f7878a0482 Mon Sep 17 00:00:00 2001 From: Alexander Kozlovsky Date: Tue, 6 Sep 2022 10:56:57 +0200 Subject: [PATCH] Fix broken test --- src/tribler/gui/tests/test_core_manager.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/tribler/gui/tests/test_core_manager.py b/src/tribler/gui/tests/test_core_manager.py index 98ebfc337c5..9764a976ec2 100644 --- a/src/tribler/gui/tests/test_core_manager.py +++ b/src/tribler/gui/tests/test_core_manager.py @@ -71,13 +71,9 @@ def test_decode_raw_core_output(core_manager): def test_format_error_message(): - actual = CoreManager.format_error_message(exit_code=errno.ENOENT, exit_status=1, last_core_output='last\noutput') + actual = CoreManager.format_error_message(exit_code=errno.ENOENT, exit_status=1) expected = '''The Tribler core has unexpectedly finished with exit code 2 and status: 1. -Error message: No such file or directory - -Last core output: -> last -> output''' +Error message: No such file or directory''' assert actual == expected