[New-bugs-announce] [issue17479] Fix test discovery for test_io.py

Zachary Ware report at bugs.python.org
Tue Mar 19 16:05:26 CET 2013


New submission from Zachary Ware:

This patch converts test_main() to load_tests(*args) due to test_main doing a lot of namespace manipulation on all the test classes.  There are a lot of subclassing issues that discovery doesn't like, hence throwing away the second argument passed to load_tests and just creating the tests the way test_main did.

----------
components: Tests
files: test_io_discovery.diff
keywords: patch
messages: 184636
nosy: brett.cannon, ezio.melotti, zach.ware
priority: normal
severity: normal
status: open
title: Fix test discovery for test_io.py
type: behavior
versions: Python 3.3, Python 3.4
Added file: http://bugs.python.org/file29478/test_io_discovery.diff

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


More information about the New-bugs-announce mailing list