[tests/results] include '#comment' in test output

This commit is contained in:
Mike Fährmann
2025-06-17 22:32:08 +02:00
parent f7b1b6b5c8
commit c73d902e13

View File

@@ -504,6 +504,9 @@ def generate_tests():
def _generate_method(result):
def test(self):
sys.stdout.write(f"\n{result['#url']}\n")
if "#comment" in result:
sys.stdout.write(f"# {result['#comment']}\n")
try:
self._run_test(result)
except KeyboardInterrupt as exc: