Open dvzrv opened 3 months ago
The test_library.py tests I can fix by replacing occurrences of assertEquals
with assertEqual
.
The other test failures seem harder to fix, maybe you have an idea?
I will ignore them for now
Looks like Python 3
changed these two things:
called_once_with -> assert_called_once_with
assertEquals -> assertEqual
I think changing both should be fine; it looks like we use assert_called_once_with()
in other places: https://github.com/square/pylink/blob/master/tests/unit/test_library.py#L437
Hi! :wave:
I package this project for Arch Linux. We are currently rebuilding against Python 3.12.
I noticed the following tests are now failing:
python-pylink-square-1.2.0-2-x86_64-build.log python-pylink-square-1.2.0-2-x86_64-check.log
FTR: I am also applying https://github.com/square/pylink/pull/150 as we have removed mock from the repositories.