Test: Remove an unused routine.

dump_failed_output didn't do anything, so remove it.

Change-Id: If2c1c48ff38987bcd535e95585784eb9981a0f4e
Reviewed-on: https://code.wireshark.org/review/37752
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Gerald Combs 2020-07-06 15:24:40 -07:00 committed by Anders Broman
parent f0d456bf2d
commit af6140d643
1 changed files with 0 additions and 11 deletions

View File

@ -37,15 +37,6 @@ def find_test_ids(suite, all_ids):
else:
all_ids.append(suite.id())
def dump_failed_output(suite):
if hasattr(suite, '__iter__'):
for s in suite:
dump_failures = getattr(s, 'dump_failures', None)
if dump_failures:
dump_failures()
else:
dump_failed_output(s)
def main():
if sys.version_info[0] < 3:
print("Unit tests require Python 3")
@ -142,8 +133,6 @@ def main():
# for unittest compatibility (not needed with pytest)
fixtures_ws.fixtures.destroy_session()
dump_failed_output(run_suite)
if test_result.errors:
sys.exit(2)