Issue 19603: Use specific asserts in test_decr (original ) (raw )Created on 2013-11-15 08:12 by serhiy.storchaka , last changed 2022-04-11 14:57 by admin . This issue is now closed .
Messages (7)
msg202925 - (view)
Author: Serhiy Storchaka (serhiy.storchaka) *
Date: 2013-11-15 08:12
The proposed patch makes test_descr use more specific asserts. This will provide more useful failure report. This is the largest patch in the series.
msg203098 - (view)
Author: Ezio Melotti (ezio.melotti) *
Date: 2013-11-16 22:21
I left a few comments on rietveld.
msg203103 - (view)
Author: Serhiy Storchaka (serhiy.storchaka) *
Date: 2013-11-16 23:04
Updated patch addresses Ezio's comments.
msg203143 - (view)
Author: Serhiy Storchaka (serhiy.storchaka) *
Date: 2013-11-17 12:59
Try to regenerate the patch for Rietveld.
msg203206 - (view)
Author: Ezio Melotti (ezio.melotti) *
Date: 2013-11-17 18:46
New patch LGTM. In addition to the assertHasNoAttr that I suggested, on IRC David suggested assertNotHasAttr to mimic assertNotIn and assertNotIsinstance, and someone else suggested assertNoAttr. Since it's only used within this file and all the suggestions are equally understandable to me, I don't think it matters too much, but feel free to change it if you think any of the alternative is better.
msg203213 - (view)
Author: Roundup Robot (python-dev)
Date: 2013-11-17 21:39
New changeset 2407ecebcf7d by Serhiy Storchaka in branch '3.3': Issue #19603 : Use specific asserts in test_decr. http://hg.python.org/cpython/rev/2407ecebcf7d New changeset 6049c954a703 by Serhiy Storchaka in branch 'default': Issue #19603 : Use specific asserts in test_decr. http://hg.python.org/cpython/rev/6049c954a703 New changeset 38fcb9a63398 by Serhiy Storchaka in branch '2.7': Issue #19603 : Use specific asserts in test_decr. http://hg.python.org/cpython/rev/38fcb9a63398
msg203214 - (view)
Author: Serhiy Storchaka (serhiy.storchaka) *
Date: 2013-11-17 21:41
Mimicing assertNotIsinstance looks fine. Thank you for your review.
History
Date
User
Action
Args
2022-04-11 14:57:53
admin
set
github: 63802
2013-11-17 21:41:07
serhiy.storchaka
set
status: open -> closedmessages: + assignee: serhiy.storchaka resolution: fixedstage: patch review -> resolved
2013-11-17 21:39:40
python-dev
set
nosy: + python-dev messages: +
2013-11-17 18:46:17
ezio.melotti
set
nosy: + r.david.murray messages: +
2013-11-17 12:59:41
serhiy.storchaka
set
files: + test_descr_asserts_2.patch messages: +
2013-11-16 23:04:48
serhiy.storchaka
set
files: + test_descr_asserts_2.patch messages: +
2013-11-16 22:21:40
ezio.melotti
set
nosy: + ezio.melotti messages: +
2013-11-16 22:09:14
serhiy.storchaka
set
files: + test_descr_asserts.patch keywords: + patch
2013-11-15 08:14:58
serhiy.storchaka
link
issue16510 dependencies
2013-11-15 08:12:07
serhiy.storchaka
create