From 9889402b79240d679568ba9b3eaa39e631a0b2e5 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Sun, 13 Jan 2019 21:32:37 -0800 Subject: VTL: Add **kwargs to VppTestRunner constructor. Subclasses should accept **kwargs to ensure compatibility as the interface changes. https://github.com/python/cpython/blob/master/Lib/unittest/runner.py#L133 Change-Id: Ia64ffd88899d207a5422f066700d2f7f9c77622e Signed-off-by: Paul Vinciguerra --- test/framework.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/framework.py b/test/framework.py index ea637eba9eb..9d85be73452 100644 --- a/test/framework.py +++ b/test/framework.py @@ -1279,12 +1279,12 @@ class VppTestRunner(unittest.TextTestRunner): def __init__(self, keep_alive_pipe=None, descriptions=True, verbosity=1, result_pipe=None, failfast=False, buffer=False, - resultclass=None, print_summary=True): + resultclass=None, print_summary=True, **kwargs): # ignore stream setting here, use hard-coded stdout to be in sync # with prints from VppTestCase methods ... super(VppTestRunner, self).__init__(sys.stdout, descriptions, verbosity, failfast, buffer, - resultclass) + resultclass, **kwargs) KeepAliveReporter.pipe = keep_alive_pipe self.orig_stream = self.stream -- cgit 1.2.3-korg