New submission from Éric Araujo <mer...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue11963> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com