[New-bugs-announce] [issue6177] unittest.main testRunner default argument changed from None

Michael Foord report at bugs.python.org
Tue Jun 2 16:38:17 CEST 2009


New submission from Michael Foord <michael at voidspace.org.uk>:

In Python 2.6 the testRunner keyword argument to unittest.main
(TestProgram) changed from None to TextTestRunner.

This breaks test suites (like the setuptools tests) which pass in None
when not wanting to override the default.

This is easy to fix without breaking anything (but hard to test). I will
be fixing this and backporting to 2.6-maint unless there are objections.

----------
assignee: michael.foord
components: Library (Lib)
keywords: easy
messages: 88747
nosy: michael.foord
severity: normal
status: open
title: unittest.main testRunner default argument changed from None
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1, Python 3.2

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


More information about the New-bugs-announce mailing list