Skip to content

Commit

Permalink
Merge pull request #3481 from mrmundt/solver-bugfix
Browse files Browse the repository at this point in the history
BUGFIX: f-string in contrib/solver
  • Loading branch information
mrmundt authored Feb 19, 2025
2 parents a16aa01 + 8bde243 commit 5f522f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyomo/contrib/solver/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def TextIO_or_Logger(val):
ans.append(LogStream(level=logging.INFO, logger=v))
else:
raise ValueError(
"Expected bool, TextIOBase, or Logger, but received {v.__class__}"
f"Expected bool, TextIOBase, or Logger, but received {v.__class__}"
)
return ans

Expand Down

0 comments on commit 5f522f3

Please sign in to comment.