This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: Fix test discovery for
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3, Python 3.4
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: brett.cannon, ezio.melotti, python-dev, zach.ware
Priority: normal Keywords: patch

Created on 2013-03-19 15:05 by zach.ware, last changed 2022-04-11 14:57 by admin. This issue is now closed.

File name Uploaded Description Edit
test_io_discovery.diff zach.ware, 2013-03-19 15:05 fix, version 1 review
Messages (3)
msg184636 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2013-03-19 15:05
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.
msg185051 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-03-23 14:37
New changeset fa9e189e30ad by Ezio Melotti in branch '3.3':
#17479: test_io now works with unittest test discovery.  Patch by Zachary Ware.

New changeset 99a81681237d by Ezio Melotti in branch 'default':
#17479: merge with 3.3.
msg185052 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-03-23 14:37
Fixed, thanks for the patch!
Date User Action Args
2022-04-11 14:57:43adminsetgithub: 61681
2013-03-23 14:37:52ezio.melottisetstatus: open -> closed
messages: + msg185052

assignee: ezio.melotti
resolution: fixed
stage: resolved
2013-03-23 14:37:15python-devsetnosy: + python-dev
messages: + msg185051
2013-03-19 15:05:26zach.warecreate