-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
Deprecation Warning fix on ctypes module test #59611
Comments
Looking for bugs to be solved on a cPython Sprint, Hynek reported at core-mentorship list some Deprecation Warnings running the test suite in regression mode. This issue aims to solve this warnings. |
The patch remove this warning: $ ./python.exe -Wm -m test test_ctypes
[1/1] test_ctypes
/Users/flavio.barbosa/dev/cpython/Lib/ctypes/test/test_bitfields.py:249: DeprecationWarning: Please use assertEqual instead.
self.assertEquals(x.a, 10)
1 test OK.
[155770 refs] |
One issue per module will be created to facilitate the issues management. |
Thanks for the patch. I will review it shortly. |
New changeset fb181698775d by Meador Inge in branch '3.2': New changeset f93efd4c45bd by Meador Inge in branch 'default': |
Thanks again for the patch Flávio. Please contribute again to Python (be sure to fill out a contributor agreement if you do: http://www.python.org/psf/contrib/). |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: