Title: Increase test coverage for
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.3, Python 3.2
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: eric.araujo, michael.henry, python-dev, r.david.murray, rhettinger
Priority: normal Keywords: patch

Created on 2011-03-16 20:27 by michael.henry, last changed 2011-03-18 00:00 by eric.araujo. This issue is now closed.

File name Uploaded Description Edit
timeit_unit_test.patch michael.henry, 2011-03-16 20:27 Adds review
Messages (5)
msg131171 - (view) Author: Michael Henry (michael.henry) * Date: 2011-03-16 20:27
The module has no specific tests.  The attached patch adds
Lib/test/ for unit testing, along with slight modifications
to to support predictable unit testing.
msg131180 - (view) Author: Roundup Robot (python-dev) Date: 2011-03-16 21:33
New changeset 628a3679dc14 by R David Murray in branch '3.2':
#11578: add unit tests for timeit module.

New changeset 2f443a200b8c by R David Murray in branch 'default':
Merge #11578 test from 3.2.
msg131181 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2011-03-16 21:35
We commented out a few of the tests because they took too long to run due to the large default loop count.  timeit would have to be further modified to support testing the default, which probably isn't worth it.
msg131185 - (view) Author: Michael Henry (michael.henry) * Date: 2011-03-16 22:21
Issue #5633 contains two additional unit tests that can't be added until
that ticket's bug is fixed.
msg131305 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-03-18 00:00
Is there no resource (in the regrtest machinery) that could be used to flag those intensive tests?

Nit: the NEWS entry lacks a “by”.
Date User Action Args
2011-03-18 00:00:07eric.araujosetnosy: + eric.araujo
messages: + msg131305
2011-03-16 22:32:44r.david.murraysetstatus: open -> closed
2011-03-16 22:21:33michael.henrysetstatus: closed -> open

nosy: + rhettinger
messages: + msg131185

resolution: accepted ->
2011-03-16 21:35:23r.david.murraysetstatus: open -> closed
versions: + Python 3.2, Python 3.3
messages: + msg131181

resolution: accepted
stage: resolved
2011-03-16 21:33:34python-devsetnosy: + python-dev
messages: + msg131180
2011-03-16 20:27:06michael.henrycreate