Skip to content

Conversation

tirkarthi
Copy link
Contributor

@tirkarthi tirkarthi commented Oct 17, 2021

The deprecated aliases were removed in Python 3.11 in python/cpython#28268

assert_ -> assertTrue
assertEquals -> assertEqual (I have made it as an alias in setup to reduce the diff)

@tkruse tkruse force-pushed the develop branch 7 times, most recently from ac8e51d to d7c40da Compare February 19, 2022 04:58
@tkruse tkruse force-pushed the develop branch 5 times, most recently from b683f2b to 2cb090b Compare January 29, 2023 12:33
@aaronliu0130 aaronliu0130 changed the title Refactor deprecated unittest aliases for Python 3.11 compatibility. Refactor deprecated unittest aliases Jan 27, 2024
@aaronliu0130 aaronliu0130 merged this pull request into cpplint:develop Jan 27, 2024
aaronliu0130 pushed a commit to aaronliu0130/cpplint that referenced this pull request Jan 29, 2024
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Feb 21, 2024
https://build.opensuse.org/request/show/1148332
by user dgarcia + anag+factory
- Add upstream patches to support python 3.12
  - deprecated-unittest-aliases.patch, gh#cpplint/cpplint#182
  - python312.patch, gh#cpplint/cpplint#243
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