Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
witek-formanski committed Oct 30, 2023
1 parent 93d39ee commit 405d78b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/test_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
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])

0 comments on commit 405d78b

Please sign in to comment.