[New-bugs-announce] [issue16000] test_curses should use unittest

Chris Jerdonek report at bugs.python.org
Fri Sep 21 23:31:26 CEST 2012


New submission from Chris Jerdonek:

This issue is to switch test_curses to using unittest.TestCase classes.

Currently, test_curses does not use unittest.TestCase.  It just calls a series of functions that exercise curses functionality and aborts if an exception occurs:

http://hg.python.org/cpython/file/3e677956eef4/Lib/test/test_curses.py#l314

Some consequences of this are that a single failure will cause remaining tests not to execute, there is no fine-grained reporting, and TestCase assertion methods are not available (e.g. assertRaisesRegexp()).

----------
components: Library (Lib)
messages: 170925
nosy: cjerdonek
priority: normal
severity: normal
status: open
title: test_curses should use unittest
type: enhancement
versions: Python 3.4

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


More information about the New-bugs-announce mailing list