classification
Title: Fix test discovery for test_time.py
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.4, Python 3.3
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-04-10 18:58 by zach.ware, last changed 2013-04-11 17:31 by ezio.melotti. This issue is now closed.

Files
File name Uploaded Description Edit
test_time_discovery.diff zach.ware, 2013-04-10 18:58 test_time.py fix, version 1 review
Messages (3)
msg186526 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2013-04-10 18:58
Just inheritance issues in this one.  The patch removes _BaseYearTest as its only use was as a unittest.TestCase subclass to inherit from, which caused the discovery issues.
msg186568 - (view) Author: Roundup Robot (python-dev) Date: 2013-04-11 17:31
New changeset 20efcabcd5c0 by Ezio Melotti in branch '3.3':
#17690: test_time now works with unittest test discovery.  Patch by Zachary Ware.
http://hg.python.org/cpython/rev/20efcabcd5c0

New changeset 6cc56e21a74d by Ezio Melotti in branch 'default':
#17690: merge with 3.3.
http://hg.python.org/cpython/rev/6cc56e21a74d
msg186569 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-04-11 17:31
Fixed, thanks for the patch!
History
Date User Action Args
2013-04-11 17:31:33ezio.melottisetstatus: open -> closed
messages: + msg186569

assignee: ezio.melotti
resolution: fixed
stage: resolved
2013-04-11 17:31:00python-devsetnosy: + python-dev
messages: + msg186568
2013-04-10 18:58:06zach.warecreate