Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Use assertNotEqual instead of assertNotEquals for Python 3.11 compatibility.#294

Merged
lbalmaceda merged 1 commit into
auth0:masterfrom
tirkarthi:fix-assert
Oct 18, 2021
Merged

Use assertNotEqual instead of assertNotEquals for Python 3.11 compatibility.#294
lbalmaceda merged 1 commit into
auth0:masterfrom
tirkarthi:fix-assert

Conversation

@tirkarthi
Copy link
Copy Markdown
Contributor

Changes

Please describe both what is changing and why this is important. Include:

Use assertNotEqual instead of assertNotEquals for Python 3.11 compatibility since deprecated aliases were removed in Python 3.11 . assertNotEqual is present in both Python 2 and 3 so the PR is backwards compatible.

References

python/cpython#28268

Please include relevant links supporting this change such as a:

  • support ticket
  • community post
  • StackOverflow post
  • support forum thread

Testing

Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of the platform/language or why not

Checklist

@tirkarthi tirkarthi requested a review from a team as a code owner October 17, 2021 05:00
@lbalmaceda lbalmaceda added this to the v3-Next milestone Oct 18, 2021
@lbalmaceda lbalmaceda merged commit 9c06ce6 into auth0:master Oct 18, 2021
@lbalmaceda
Copy link
Copy Markdown
Contributor

Thanks!

@lbalmaceda lbalmaceda modified the milestones: v3-Next, 3.19.0 Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants