[issue9424] deprecate unittest.TestCase.assertEquals

Michael Foord report at bugs.python.org
Fri Jul 30 02:05:52 CEST 2010


New submission from Michael Foord <michael at voidspace.org.uk>:

Now that deprecations are silent by default it would be much less intrusive to deprecate unittest.TestCase.assertEqual

We have a persistent issue in the Python test suite of developers using assertEquals when we have standardised on assertEqual. In regrtest we could patch TestCase.assertEquals to raise a (hopefully helpful) error. That'll stop the blighters!

----------
assignee: ezio.melotti
messages: 112025
nosy: ezio.melotti, michael.foord
priority: normal
severity: normal
status: open
title: deprecate unittest.TestCase.assertEquals
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9424>
_______________________________________


More information about the Python-bugs-list mailing list