-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
It has persisted for a long time that with each new Python version the mock calls were changing (with unessential calls that don't change the final result).
It was suggested to fix it here. That is why I'm copying the code from Lena.
It was recently reported on AUR:
assert mocker_print.mock_calls == [
call.write('In repository myhost'), call.write('\n'),
call.write('No commits found'), call.write('\n')
]
E AssertionError: assert [call.fileno(...l.write('\n')] == [call.write('...l.write('\n')]
E
E At index 0 diff: call.fileno() != call.write('In repository myhost')
E Left contains 388 more items, first extra item: call.fileno()
E Use -v to get more diff
/home/simona/.cache/yay/yarsync/src/yarsync-0.3/tests/test_status.py:75: AssertionError
Time to finally fix that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels