Skip to content

Commit

Permalink
Fix ValueError() takes no keyword arguments (#54)
Browse files Browse the repository at this point in the history
Fixes #53.
  • Loading branch information
dweindl authored Oct 15, 2024
1 parent ea015ab commit 2fc3faf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fiddy/success.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ def method(
results_by_size[size] = {}
if result.method_id in results_by_size[size]:
raise ValueError(
f'Duplicate, and possibly conflicting, results for method "{result.method_id}" and size "{size}".',
stacklevel=1,
f"Duplicate, and possibly conflicting, results for method "
f'"{result.method_id}" and size "{size}".',
)
results_by_size[size][result.method_id] = result.value

Expand Down

0 comments on commit 2fc3faf

Please sign in to comment.