From 828cf4c1ab4ee4b49bc53d6a3dda54c6fd9ba936 Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Sat, 19 Jul 2025 10:21:11 +0000 Subject: [PATCH] minor cleanups --- test/cmdtest.py | 4 ++-- test/cmdtest_d/include/runner.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/cmdtest.py b/test/cmdtest.py index 51e4be4e..14a42575 100755 --- a/test/cmdtest.py +++ b/test/cmdtest.py @@ -314,7 +314,7 @@ if __name__ == '__main__': try: tr = CmdTestRunner(cfg, repo_root, data_dir, trash_dir, trash_dir2) tr.run_tests(cmd_args) - tr.warn_skipped() + tr.print_warnings() if tr.daemon_started and not cfg.no_daemon_stop: stop_test_daemons(tr.network_id, remove_datadir=True) if hasattr(tr, 'tg'): @@ -323,7 +323,7 @@ if __name__ == '__main__': except KeyboardInterrupt: if tr.daemon_started and not cfg.no_daemon_stop: stop_test_daemons(tr.network_id, remove_datadir=True) - tr.warn_skipped() + tr.print_warnings() if hasattr(tr, 'tg'): del tr.tg del tr diff --git a/test/cmdtest_d/include/runner.py b/test/cmdtest_d/include/runner.py index 672e2e23..7a75617b 100755 --- a/test/cmdtest_d/include/runner.py +++ b/test/cmdtest_d/include/runner.py @@ -484,7 +484,7 @@ class CmdTestRunner: if cmd == self.cfg.exit_after: sys.exit(0) - def warn_skipped(self): + def print_warnings(self): if self.skipped_warnings: print(yellow('The following tests were skipped and may require attention:')) r = '-' * 72 + '\n'