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.

classification
Title: Fix test discovery for test_io.py
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.3, Python 3.4
process
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.

Files
File name Uploaded Description Edit
test_io_discovery.diff zach.ware, 2013-03-19 15:05 test_io.py 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.
http://hg.python.org/cpython/rev/fa9e189e30ad

New changeset 99a81681237d by Ezio Melotti in branch 'default':
#17479: merge with 3.3.
http://hg.python.org/cpython/rev/99a81681237d
msg185052 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-03-23 14:37
Fixed, thanks for the patch!
History
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