[issue5633] timeit breaks when the statment is a string and the setup is not
Tim Driscoll
report at bugs.python.org
Tue Mar 31 23:01:39 CEST 2009
New submission from Tim Driscoll <tdriscol at gmail.com>:
The patch and test is here:
http://codereview.appspot.com/28161/show
There were no tests so i added a few of them. The one that breaks
without the patch to timeit is:
test_setup_is_called_when_the_statment_is_string_and_the_setup_is_not()
(sorry for the long name)
Even if the patch is no good perhaps the test could be useful.
----------
components: Library (Lib)
messages: 84902
nosy: tdriscol
severity: normal
status: open
title: timeit breaks when the statment is a string and the setup is not
type: behavior
versions: Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5633>
_______________________________________
More information about the Python-bugs-list
mailing list