[New-bugs-announce] [issue11963] Use real assert* for test_trigger_memory_error (test_parser)

Éric Araujo report at bugs.python.org
Sat Apr 30 17:43:25 CEST 2011


New submission from Éric Araujo <merwok at netwok.org>:

I’ve always found strange that one test relied on visual (i.e. human) checking instead of using an assert* method.  I changed it and found that the test still passed (see attached patch).  Is there any reason to do it the old way?

----------
components: Tests
files: real-assert-in-test_parser.diff
keywords: patch
messages: 134868
nosy: benjamin.peterson, eric.araujo, mark.dickinson
priority: normal
severity: normal
stage: patch review
status: open
title: Use real assert* for test_trigger_memory_error (test_parser)
type: behavior
versions: Python 3.3
Added file: http://bugs.python.org/file21842/real-assert-in-test_parser.diff

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


More information about the New-bugs-announce mailing list