[issue5633] timeit breaks when the statment is a string and the setup is not

2009-03-31 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue5633] timeit breaks when the statment is a string and the setup is not

2009-03-31 Thread Tim Driscoll
New submission from Tim Driscoll : 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 n