From: Paul Vinciguerra Date: Wed, 16 Jan 2019 19:12:50 +0000 (-0800) Subject: VTL: VppTestResult: Must implement empty constructor. X-Git-Tag: v19.04-rc1~625 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F43%2F16843%2F2;p=vpp.git VTL: VppTestResult: Must implement empty constructor. Subclasses of (unittest.TestResult|unittest.TextTestResult) must implement an empty constructor. The standard python library unittests depend on the empty constructor. Change-Id: I6d1bd2e7d6996d85a9da66cb7d40af0ed3c30e2b Signed-off-by: Paul Vinciguerra --- diff --git a/test/framework.py b/test/framework.py index 9d85be73452..2a2dfd4b11f 100644 --- a/test/framework.py +++ b/test/framework.py @@ -1034,7 +1034,8 @@ class VppTestResult(unittest.TestResult): core_crash_test_cases_info = set() current_test_case_info = None - def __init__(self, stream, descriptions, verbosity, runner): + def __init__(self, stream=None, descriptions=None, verbosity=None, + runner=None): """ :param stream File descriptor to store where to report test results. Set to the standard error stream by default.