From f7457521b63391a571711f66fcbd24d7c0d19270 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Sat, 13 Jul 2019 09:35:38 -0400 Subject: 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 --- test/framework.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- cgit 1.2.3-korg