From: Paul Vinciguerra Date: Sat, 13 Jul 2019 13:35:38 +0000 (-0400) Subject: tests: fix error in VppDiedError exception X-Git-Tag: v20.01-rc0~180 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=f7457521b63391a571711f66fcbd24d7c0d19270;p=vpp.git tests: fix error in VppDiedError exception Discovered running test-debug job in CI. - fix missing paren () around format value. Type: test Change-Id: Iebddd3035a435f8ad1cb1d6fa4e8e8c2d4ddaf96 Signed-off-by: Paul Vinciguerra --- diff --git a/test/framework.py b/test/framework.py index e5a970b9698..59c451d475c 100644 --- a/test/framework.py +++ b/test/framework.py @@ -114,8 +114,8 @@ class VppDiedError(Exception): msg = "VPP subprocess died %sunexpectedly with return code: %d%s." % ( in_msg, self.rv, - ' [%s]' % self.signal_name if - self.signal_name is not None else '') + ' [%s]' % (self.signal_name if + self.signal_name is not None else '')) super(VppDiedError, self).__init__(msg)