summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_timeit.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #24631: Fixed regression in the timeit modulu with multyline setup.Serhiy Storchaka2015-07-151-2/+8
|
* Issue #5633: Fixed timeit when the statement is a string and the setup is not.Serhiy Storchaka2015-05-301-0/+7
|\ | | | | | | Refactored timeit.__init__ for unified handling of stmt and setup parameters.
| * Issue #5633: Fixed timeit when the statement is a string and the setup is not.Serhiy Storchaka2015-05-301-0/+7
| |
* | Issue #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-5/+1
| | | | | | | | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
* | Issue #18983: Allow selection of output units in timeit.Robert Collins2015-03-171-0/+20
| | | | | | | | | | | | | | | | This allows manual selection of a specific unit such as usecs rather than the use of a heuristic. This is intended to aid machine processing of timeit output. Patch by Serhiy Storchaka.
* | Issue #18518: timeit now rejects statements which can't be compiled outsideSerhiy Storchaka2015-01-261-0/+12
|\ \ | |/ | | | | a function or a loop (e.g. "return" or "break").
| * Issue #18518: timeit now rejects statements which can't be compiled outsideSerhiy Storchaka2015-01-261-0/+12
| | | | | | | | a function or a loop (e.g. "return" or "break").
* | Issue #2527: Add a *globals* argument to timeit functions, in order to ↵Antoine Pitrou2014-08-231-2/+14
|/ | | | | | override the globals namespace in which the timed code is executed. Patch by Ben Roberts.
* skip if __doc__ is goneBenjamin Peterson2012-10-121-0/+1
|
* #11578: add unit tests for timeit module.R David Murray2011-03-161-0/+305
Patch by Michael Henry.