79560241

Date: 2025-04-07 15:21:07
Score: 1
Natty:
Report link

This felt most readable for me:

event1, event2 = [call.args[0] for call in mocked_method.call_args_list]

While the call object is messy, it does make it easier to separate the args and kwargs compared to if it was just a tuple.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ayham Saffar