[igt-dev] [PATCH i-g-t v3 11/14] scripts/test_list.py: filename arguments for print_ methods are optional
Mauro Carvalho Chehab
mauro.chehab at linux.intel.com
Thu Jul 13 07:50:51 UTC 2023
From: Mauro Carvalho Chehab <mchehab at kernel.org>
Add a default to those, as the code doesn't need any arguments.
Reviewed-by: Kamil Konieczny <kamil.konieczny at linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab at kernel.org>
---
scripts/test_list.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/test_list.py b/scripts/test_list.py
index a9b0dffaf8d5..6b0893a6da95 100644
--- a/scripts/test_list.py
+++ b/scripts/test_list.py
@@ -616,7 +616,7 @@ class TestList:
# Output methods
#
- def print_rest_flat(self, filename):
+ def print_rest_flat(self, filename = None):
"""Print tests and subtests ordered by tests"""
@@ -728,7 +728,7 @@ class TestList:
sheet[row].append('')
return sheet
- def print_nested_rest(self, filename):
+ def print_nested_rest(self, filename = None):
"""Print tests and subtests ordered by tests"""
--
2.40.1
More information about the igt-dev
mailing list