Skip to content

✅ tests: Replace deprecated assertEquals with assertEqual - #632

Merged
contraexemplo merged 1 commit into
outreachy:masterfrom
justwheel:fix/py3.12-asserts
Apr 19, 2026
Merged

✅ tests: Replace deprecated assertEquals with assertEqual#632
contraexemplo merged 1 commit into
outreachy:masterfrom
justwheel:fix/py3.12-asserts

Conversation

@justwheel

Copy link
Copy Markdown
Contributor

assertEquals was deprecated in Python 3.11 and removed in Python 3.12. Replace all 57 occurrences with assertEqual across two test files to future-proof the test suite.

`assertEquals` was deprecated in Python 3.11 and removed in Python 3.12.
Replace all 57 occurrences with `assertEqual` across two test files to
future-proof the test suite.

Assisted-by: Claude Opus 4.6 (1M context)
Signed-off-by: Justin Wheeler <git@jwheel.org>
@justwheel
justwheel force-pushed the fix/py3.12-asserts branch from b3da9de to edc28f6 Compare April 17, 2026 00:25
@contraexemplo
contraexemplo merged commit cd5b646 into outreachy:master Apr 19, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants