Skip to content
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

Update call to assertDictContainsSubset() #19122

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

Ichimonji10
Copy link
Contributor

TestCase.assertDictContainsSubset() was deprecated in Python 3.2,
which went EOL in 2016. Rewrite the assertion to target Python 3.8+.

See: https://docs.python.org/3.2/library/unittest.html#unittest.TestCase.assertDictContainsSubset

See: https://devguide.python.org/versions/

@Ichimonji10
Copy link
Contributor Author

Split from #19068

ping python tech committee members: @cbornet @tomplus @krjakbrjak @fa0311 @multani

`TestCase.assertDictContainsSubset()` was deprecated in Python 3.2,
which went EOL in 2016. Rewrite the assertion to target Python 3.8+.

See: https://docs.python.org/3.2/library/unittest.html#unittest.TestCase.assertDictContainsSubset

See: https://devguide.python.org/versions/
@wing328 wing328 merged commit 722be84 into OpenAPITools:master Jul 13, 2024
25 checks passed
@wing328 wing328 added this to the 7.8.0 milestone Jul 13, 2024
@Ichimonji10 Ichimonji10 deleted the assert branch July 16, 2024 15:55
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.

3 participants