diff --git a/tests/e2e/gen_scenario_list.py b/tests/e2e/gen_scenario_list.py index 0ce9011f5..ac9587e06 100644 --- a/tests/e2e/gen_scenario_list.py +++ b/tests/e2e/gen_scenario_list.py @@ -55,7 +55,7 @@ with open( os.path.join(FEATURE_DIRECTORY, filename), "r", encoding="utf-8" ) as fin: - for line in fin.readlines(): + for line in fin: line = line.strip() # process all scenarios and scenario outlines for prefix in PREFIXES: