From 405d78bcbb9e39e8d950d60926f303907edb84bc Mon Sep 17 00:00:00 2001 From: witek-formanski Date: Mon, 30 Oct 2023 20:59:29 +0100 Subject: [PATCH] refactor --- scripts/test_generator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/test_generator.py b/scripts/test_generator.py index 1c4a7ab..3cb418b 100644 --- a/scripts/test_generator.py +++ b/scripts/test_generator.py @@ -16,7 +16,7 @@ data = list(csvreader) for i, row in enumerate(data): - with open(f'tests/{destination_extension}/{destination_name}{i}.in', 'w') as infile: - infile.write(row[0]) - with open(f'tests/{destination_extension}/{destination_name}{i}.out', 'w') as outfile: - outfile.write(row[1]) \ No newline at end of file + with open(f'tests/{destination_extension}/{destination_name}{i}.in', 'w') as in_file: + in_file.write(row[0]) + with open(f'tests/{destination_extension}/{destination_name}{i}.out', 'w') as out_file: + out_file.write(row[1]) \ No newline at end of file