diff --git a/testlib/infra.py b/testlib/infra.py index 78cbbdc..54bb305 100644 --- a/testlib/infra.py +++ b/testlib/infra.py @@ -275,10 +275,15 @@ def tearDown(self): self.assertEqual( self.trace.returncode, 0, - stderrdata.decode("utf-8") - if len(msg) == 0 - else ( - "Error from monitor_dbus_signals: " + os.linesep + os.linesep + msg + ( + stderrdata.decode("utf-8") + if len(msg) == 0 + else ( + "Error from monitor_dbus_signals: " + + os.linesep + + os.linesep + + msg + ) ), )