aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-07-06 15:24:40 -0700
committerAnders Broman <a.broman58@gmail.com>2020-07-08 05:08:23 +0000
commitaf6140d64351846bdbe52706806ccd145f14b388 (patch)
treee6ae54aac5e1b17f93d8954348c544ce5361ec03 /test
parentf0d456bf2d4d3ff7a344f7944b75e9b995227448 (diff)
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>
Diffstat (limited to 'test')
-rwxr-xr-xtest/test.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/test.py b/test/test.py
index fa6a543057..c1a3a6ee69 100755
--- a/test/test.py
+++ b/test/test.py
@@ -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)