[Python-Dev] r87389 - in python/branches/py3k: Doc/library/unittest.rst Lib/unittest/case.py Misc/NEWS (original) (raw)
Antoine Pitrou solipsis at pitrou.net
Sat Dec 18 21:48:30 CET 2010
- Previous message: [Python-Dev] r87188 - python/branches/py3k/Doc/library/test.rst
- Next message: [Python-Dev] r87389 - in python/branches/py3k: Doc/library/unittest.rst Lib/unittest/case.py Misc/NEWS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, 18 Dec 2010 21:00:04 +0100 (CET) ezio.melotti <python-checkins at python.org> wrote:
Author: ezio.melotti Date: Sat Dec 18 21:00:04 2010 New Revision: 87389
Log: #10573: use actual/expected consistently in unittest methods.
IMHO, this should be reverted. The API currently doesn't treat these arguments differently, so they should really be labeled "first" and "second". Otherwise, the user will wrongly assume that the signature is asymmetric and that they should be careful about which order they pass the arguments in.
Regards
Antoine.
- Previous message: [Python-Dev] r87188 - python/branches/py3k/Doc/library/test.rst
- Next message: [Python-Dev] r87389 - in python/branches/py3k: Doc/library/unittest.rst Lib/unittest/case.py Misc/NEWS
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]