Skip to content

Commit

Permalink
Fix for OL8/Centos7
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonMarechal25 committed Nov 15, 2024
1 parent ef52bac commit 00151c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/end_to_end/cucumber/features/steps/steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def study_path_is(context, string):
def set_solver(context, string):
context.solver = string
match = False
with fileinput.FileInput(context.tmp_study / "user/expansion/settings.ini", inplace=True) as file:
with fileinput.FileInput(str(context.tmp_study / "user/expansion/settings.ini"), inplace=True) as file:
for line in file:
match = match or re.search(r'solver\s*=.*', line)
print(re.sub(r'solver\s*=.*', f'solver= {string}', line), end='')
Expand Down

0 comments on commit 00151c1

Please sign in to comment.