diff --git a/scripts/pylib/twister/twisterlib.py b/scripts/pylib/twister/twisterlib.py index 5b5427a8202..e88d1f17b57 100755 --- a/scripts/pylib/twister/twisterlib.py +++ b/scripts/pylib/twister/twisterlib.py @@ -3736,12 +3736,12 @@ class CoverageTool: return t @staticmethod - def retrieve_gcov_data(intput_file): - logger.debug("Working on %s" % intput_file) + def retrieve_gcov_data(input_file): + logger.debug("Working on %s" % input_file) extracted_coverage_info = {} capture_data = False capture_complete = False - with open(intput_file, 'r') as fp: + with open(input_file, 'r') as fp: for line in fp.readlines(): if re.search("GCOV_COVERAGE_DUMP_START", line): capture_data = True