[issue14408] Support the test_cases protocol in the stdlib tests

Matt Joiner report at bugs.python.org
Mon Mar 26 06:13:57 CEST 2012


New submission from Matt Joiner <anacrolix at gmail.com>:

Python 3.2 added the test_cases protocol. Many of the stdlib tests won't run using the `$ python3 -m unittest test.test_blah` method due to select unit test class names, and some regrtest arcanity. Defining test_cases makes these tests work as expected.

A patch is attached for several of the unit tests I've dealt with more often.

----------
components: Tests
files: stdlib-tests-test_cases-protocol.patch
keywords: patch
messages: 156797
nosy: anacrolix
priority: normal
severity: normal
status: open
title: Support the test_cases protocol in the stdlib tests
type: enhancement
versions: Python 3.2, Python 3.3
Added file: http://bugs.python.org/file25023/stdlib-tests-test_cases-protocol.patch

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


More information about the Python-bugs-list mailing list