Skip to content

Refactor deprecated unittest aliases #182

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 27, 2024

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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy