[issue15406] Deprecation Warnings fixes on test suite
Flávio Ribeiro
report at bugs.python.org
Fri Jul 20 16:47:36 CEST 2012
Flávio Ribeiro <email at flavioribeiro.com> added the comment:
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]
----------
keywords: +patch
Added file: http://bugs.python.org/file26455/issue15406_fix_ctypes_warnings.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15406>
_______________________________________
More information about the Python-bugs-list
mailing list