Skip to content

Commit

Permalink
fix unnecessary-dunder-call (C2801)
Browse files Browse the repository at this point in the history
  • Loading branch information
fphammerle committed Jun 4, 2022
1 parent 5f0dfe2 commit cde354f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/prop_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

def _parametrize(obj: typing.Any, params: typing.Dict[str, str]) -> typing.Any:
for key, value in params.items():
obj.params.__setitem__(key, value)
obj.params[key] = value
return obj


Expand Down

0 comments on commit cde354f

Please sign in to comment.